<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Flaming Penguin</title>
	<atom:link href="http://www.flamingpenguin.co.uk/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.flamingpenguin.co.uk/blog</link>
	<description>Programming and Software</description>
	<lastBuildDate>Tue, 24 Apr 2012 16:34:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>How to find out where a java class was loaded from?</title>
		<link>http://www.flamingpenguin.co.uk/blog/2012/04/24/how-to-find-out-where-a-java-class-was-loaded-from/</link>
		<comments>http://www.flamingpenguin.co.uk/blog/2012/04/24/how-to-find-out-where-a-java-class-was-loaded-from/#comments</comments>
		<pubDate>Tue, 24 Apr 2012 16:34:04 +0000</pubDate>
		<dc:creator>flamingpenguin</dc:creator>
				<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://www.flamingpenguin.co.uk/blog/?p=80</guid>
		<description><![CDATA[If you need to find out which jar file a Java class was loaded from you can find out by examining the code source location in the protection domain: MyClass.class.getProtectionDomain&#40;&#41;.getCodeSource&#40;&#41;.getLocation&#40;&#41;]]></description>
			<content:encoded><![CDATA[<p>If you need to find out which jar file a Java class was loaded from you can find out by examining the code source location in the protection domain:</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;">MyClass.<span style="color: #000000; font-weight: bold;">class</span>.<span style="color: #006633;">getProtectionDomain</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">getCodeSource</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">getLocation</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.flamingpenguin.co.uk/blog/2012/04/24/how-to-find-out-where-a-java-class-was-loaded-from/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Implement toString method on DOMSource when marshalling with JAXB</title>
		<link>http://www.flamingpenguin.co.uk/blog/2012/04/03/implement-tostring-method-on-domsource-when-marshalling-with-jaxb/</link>
		<comments>http://www.flamingpenguin.co.uk/blog/2012/04/03/implement-tostring-method-on-domsource-when-marshalling-with-jaxb/#comments</comments>
		<pubDate>Tue, 03 Apr 2012 14:56:06 +0000</pubDate>
		<dc:creator>flamingpenguin</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[jaxb]]></category>

		<guid isPermaLink="false">http://www.flamingpenguin.co.uk/blog/?p=79</guid>
		<description><![CDATA[When serialising with JAXB to a DOMSource the object that results does not have a useful implementation of toString and alot of boiler plate is required to set up the marshalling. Here is some code that returns a DOMSource from &#8230; <a href="http://www.flamingpenguin.co.uk/blog/2012/04/03/implement-tostring-method-on-domsource-when-marshalling-with-jaxb/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>When serialising with JAXB to a DOMSource the object that results does not have a useful implementation of toString and alot of boiler plate is required to set up the marshalling. Here is some code that returns a DOMSource from an arbitrary JAXB annotated object with the toString method of the object return the XML representation:</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> SerialisationHelper
<span style="color: #009900;">&#123;</span>
   <span style="color: #000000; font-weight: bold;">private</span> <span style="color: #000000; font-weight: bold;">final</span> <span style="color: #003399;">String</span> marshalledBean<span style="color: #339933;">;</span>
   <span style="color: #000000; font-weight: bold;">private</span> <span style="color: #000000; font-weight: bold;">final</span> <span style="color: #003399;">Document</span> document<span style="color: #339933;">;</span>
&nbsp;
   <span style="color: #000000; font-weight: bold;">private</span> SerialisationHelper<span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">final</span> <span style="color: #003399;">Object</span> bean<span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">throws</span> JAXBException, ParserConfigurationException
   <span style="color: #009900;">&#123;</span>
      document <span style="color: #339933;">=</span> DocumentBuilderFactory.<span style="color: #006633;">newInstance</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">newDocumentBuilder</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">newDocument</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
      <span style="color: #000000; font-weight: bold;">final</span> Marshaller marshaller <span style="color: #339933;">=</span> JAXBContext.<span style="color: #006633;">newInstance</span><span style="color: #009900;">&#40;</span>bean.<span style="color: #006633;">getClass</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">createMarshaller</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      marshaller.<span style="color: #006633;">marshal</span><span style="color: #009900;">&#40;</span>bean, document<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #000000; font-weight: bold;">final</span> <span style="color: #003399;">StringWriter</span> writer <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #003399;">StringWriter</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      marshaller.<span style="color: #006633;">marshal</span><span style="color: #009900;">&#40;</span>bean, writer<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      marshalledBean <span style="color: #339933;">=</span> writer.<span style="color: #006633;">toString</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
   <span style="color: #009900;">&#125;</span>
&nbsp;
   @Override
   <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #003399;">String</span> toString<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
   <span style="color: #009900;">&#123;</span>
      <span style="color: #000000; font-weight: bold;">return</span> marshalledBean<span style="color: #339933;">;</span>
   <span style="color: #009900;">&#125;</span>
&nbsp;
   <span style="color: #000000; font-weight: bold;">private</span> <span style="color: #003399;">Document</span> toDocument<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
   <span style="color: #009900;">&#123;</span>
      <span style="color: #000000; font-weight: bold;">return</span> document<span style="color: #339933;">;</span>
   <span style="color: #009900;">&#125;</span>
&nbsp;
   <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">static</span> DOMSource marshalled<span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">final</span> <span style="color: #003399;">Object</span> entity<span style="color: #009900;">&#41;</span>
   <span style="color: #009900;">&#123;</span>
      <span style="color: #000000; font-weight: bold;">try</span>
      <span style="color: #009900;">&#123;</span>
         <span style="color: #000000; font-weight: bold;">final</span> SerialisationHelper serialisationHelper <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> SerialisationHelper<span style="color: #009900;">&#40;</span>entity<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
         <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #000000; font-weight: bold;">new</span> DOMSource<span style="color: #009900;">&#40;</span>serialisationHelper.<span style="color: #006633;">toDocument</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            @Override
            <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #003399;">String</span> toString<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
            <span style="color: #009900;">&#123;</span>
               <span style="color: #000000; font-weight: bold;">return</span> serialisationHelper.<span style="color: #006633;">toString</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
      <span style="color: #009900;">&#125;</span>
      <span style="color: #000000; font-weight: bold;">catch</span> <span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">final</span> JAXBException e<span style="color: #009900;">&#41;</span>
      <span style="color: #009900;">&#123;</span>
         <span style="color: #000000; font-weight: bold;">throw</span> <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #003399;">RuntimeException</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;unable to marshal &quot;</span> <span style="color: #339933;">+</span> entity, e<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #009900;">&#125;</span>
      <span style="color: #000000; font-weight: bold;">catch</span> <span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">final</span> ParserConfigurationException e<span style="color: #009900;">&#41;</span>
      <span style="color: #009900;">&#123;</span>
         <span style="color: #000000; font-weight: bold;">throw</span> <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #003399;">RuntimeException</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;unable to marshal &quot;</span> <span style="color: #339933;">+</span> entity, e<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #009900;">&#125;</span>
   <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.flamingpenguin.co.uk/blog/2012/04/03/implement-tostring-method-on-domsource-when-marshalling-with-jaxb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Refactoring Ideas: Replace maven transitive dependency with direct dependency</title>
		<link>http://www.flamingpenguin.co.uk/blog/2012/03/30/refactoring-ideas-replace-maven-transitive-dependency-with-direct-dependency/</link>
		<comments>http://www.flamingpenguin.co.uk/blog/2012/03/30/refactoring-ideas-replace-maven-transitive-dependency-with-direct-dependency/#comments</comments>
		<pubDate>Fri, 30 Mar 2012 11:25:38 +0000</pubDate>
		<dc:creator>flamingpenguin</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[Refactoring]]></category>

		<guid isPermaLink="false">http://www.flamingpenguin.co.uk/blog/?p=77</guid>
		<description><![CDATA[It would be useful to have a tool that can traverse the maven transitive dependency tree, find anything that the project depends on directly and include it as a direct dependency.]]></description>
			<content:encoded><![CDATA[<p>It would be useful to have a tool that can traverse the maven transitive dependency tree, find anything that the project depends on directly and include it as a direct dependency.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flamingpenguin.co.uk/blog/2012/03/30/refactoring-ideas-replace-maven-transitive-dependency-with-direct-dependency/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Refactoring Ideas: Replace static method with same named static method</title>
		<link>http://www.flamingpenguin.co.uk/blog/2012/03/28/refactoring-ideas-replace-static-method-with-same-named-static-method/</link>
		<comments>http://www.flamingpenguin.co.uk/blog/2012/03/28/refactoring-ideas-replace-static-method-with-same-named-static-method/#comments</comments>
		<pubDate>Wed, 28 Mar 2012 15:18:27 +0000</pubDate>
		<dc:creator>flamingpenguin</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[Refactoring]]></category>

		<guid isPermaLink="false">http://www.flamingpenguin.co.uk/blog/?p=75</guid>
		<description><![CDATA[Want to produce the same kind of import in the affected classes (static, normal or fully qualified): public static String repeat&#40;final int count, final char character&#41; &#123; return org.apache.commons.lang3.StringUtils.repeat&#40;character, count&#41;; &#125;]]></description>
			<content:encoded><![CDATA[<p>Want to produce the same kind of import in the affected classes (static, normal or fully qualified):</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">static</span> <span style="color: #003399;">String</span> repeat<span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">final</span> <span style="color: #000066; font-weight: bold;">int</span> count, <span style="color: #000000; font-weight: bold;">final</span> <span style="color: #000066; font-weight: bold;">char</span> character<span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
   <span style="color: #000000; font-weight: bold;">return</span> org.<span style="color: #006633;">apache</span>.<span style="color: #006633;">commons</span>.<span style="color: #006633;">lang3</span>.<span style="color: #006633;">StringUtils</span>.<span style="color: #006633;">repeat</span><span style="color: #009900;">&#40;</span>character, count<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.flamingpenguin.co.uk/blog/2012/03/28/refactoring-ideas-replace-static-method-with-same-named-static-method/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Refactoring Ideas: inline method with flag parameter</title>
		<link>http://www.flamingpenguin.co.uk/blog/2012/03/28/refactoring-ideas-inline-method-with-flag-parameter/</link>
		<comments>http://www.flamingpenguin.co.uk/blog/2012/03/28/refactoring-ideas-inline-method-with-flag-parameter/#comments</comments>
		<pubDate>Wed, 28 Mar 2012 15:10:42 +0000</pubDate>
		<dc:creator>flamingpenguin</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[Refactoring]]></category>

		<guid isPermaLink="false">http://www.flamingpenguin.co.uk/blog/?p=74</guid>
		<description><![CDATA[Check all calls to see if the value of the flag can be analysed, if so inline everywhere (otherwise tell the developer where it is ambiguous): public static String pad&#40;final String string, final int length, final char character, final boolean &#8230; <a href="http://www.flamingpenguin.co.uk/blog/2012/03/28/refactoring-ideas-inline-method-with-flag-parameter/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Check all calls to see if the value of the flag can be analysed, if so inline everywhere (otherwise tell the developer where it is ambiguous):</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;">   <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">static</span> <span style="color: #003399;">String</span> pad<span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">final</span> <span style="color: #003399;">String</span> string, <span style="color: #000000; font-weight: bold;">final</span> <span style="color: #000066; font-weight: bold;">int</span> length, <span style="color: #000000; font-weight: bold;">final</span> <span style="color: #000066; font-weight: bold;">char</span> character, <span style="color: #000000; font-weight: bold;">final</span> <span style="color: #000066; font-weight: bold;">boolean</span> before<span style="color: #009900;">&#41;</span>
   <span style="color: #009900;">&#123;</span>
      <span style="color: #000000; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>before<span style="color: #009900;">&#41;</span>
      <span style="color: #009900;">&#123;</span>
         <span style="color: #000000; font-weight: bold;">return</span> leftPad<span style="color: #009900;">&#40;</span>string, length, character<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #009900;">&#125;</span>
      <span style="color: #000000; font-weight: bold;">else</span>
      <span style="color: #009900;">&#123;</span>
         <span style="color: #000000; font-weight: bold;">return</span> rightPad<span style="color: #009900;">&#40;</span>string, length, character<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #009900;">&#125;</span>
   <span style="color: #009900;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.flamingpenguin.co.uk/blog/2012/03/28/refactoring-ideas-inline-method-with-flag-parameter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Refactoring Ideas: Remove unused</title>
		<link>http://www.flamingpenguin.co.uk/blog/2012/03/28/refactoring-ideas-remove-unused/</link>
		<comments>http://www.flamingpenguin.co.uk/blog/2012/03/28/refactoring-ideas-remove-unused/#comments</comments>
		<pubDate>Wed, 28 Mar 2012 11:13:58 +0000</pubDate>
		<dc:creator>flamingpenguin</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[Refactoring]]></category>

		<guid isPermaLink="false">http://www.flamingpenguin.co.uk/blog/?p=71</guid>
		<description><![CDATA[Starting at some given point, like an API entry point, remove that entry point as well as all code that is now unused! This would be very useful when removing parts of an API to ensure that all code which &#8230; <a href="http://www.flamingpenguin.co.uk/blog/2012/03/28/refactoring-ideas-remove-unused/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Starting at some given point, like an API entry point, remove that entry point as well as all code that is now unused! This would be very useful when removing parts of an API to ensure that all code which is only present as a way to implement that API is also removed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flamingpenguin.co.uk/blog/2012/03/28/refactoring-ideas-remove-unused/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Refactoring Ideas: Replace static method</title>
		<link>http://www.flamingpenguin.co.uk/blog/2012/03/28/refactoring-ideas-replace-static-method/</link>
		<comments>http://www.flamingpenguin.co.uk/blog/2012/03/28/refactoring-ideas-replace-static-method/#comments</comments>
		<pubDate>Wed, 28 Mar 2012 11:03:19 +0000</pubDate>
		<dc:creator>flamingpenguin</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[Refactoring]]></category>

		<guid isPermaLink="false">http://www.flamingpenguin.co.uk/blog/?p=70</guid>
		<description><![CDATA[Replace all calls to one static method with calls to another static method (can be done by replacing the implementation then doing an &#8220;inline&#8221;, but it could be one command). For example, this would be useful when replacing one utility &#8230; <a href="http://www.flamingpenguin.co.uk/blog/2012/03/28/refactoring-ideas-replace-static-method/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Replace all calls to one static method with calls to another static method (can be done by replacing the implementation then doing an &#8220;inline&#8221;, but it could be one command). For example, this would be useful when replacing one utility library (bespoke) with another (commons-lang).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flamingpenguin.co.uk/blog/2012/03/28/refactoring-ideas-replace-static-method/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Refactoring Ideas: Move static methods with only one use to the using class</title>
		<link>http://www.flamingpenguin.co.uk/blog/2012/03/28/refactoring-ideas-move-static-methods-with-only-one-use-to-the-using-class/</link>
		<comments>http://www.flamingpenguin.co.uk/blog/2012/03/28/refactoring-ideas-move-static-methods-with-only-one-use-to-the-using-class/#comments</comments>
		<pubDate>Wed, 28 Mar 2012 11:00:59 +0000</pubDate>
		<dc:creator>flamingpenguin</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[Refactoring]]></category>

		<guid isPermaLink="false">http://www.flamingpenguin.co.uk/blog/?p=69</guid>
		<description><![CDATA[If a static method has only one use, then it can be moved the class where it is being used and made private.]]></description>
			<content:encoded><![CDATA[<p>If a static method has only one use, then it can be moved the class where it is being used and made private.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flamingpenguin.co.uk/blog/2012/03/28/refactoring-ideas-move-static-methods-with-only-one-use-to-the-using-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Webhooks &#8211; event driven REST</title>
		<link>http://www.flamingpenguin.co.uk/blog/2012/03/16/webhooks-event-driven-rest/</link>
		<comments>http://www.flamingpenguin.co.uk/blog/2012/03/16/webhooks-event-driven-rest/#comments</comments>
		<pubDate>Fri, 16 Mar 2012 11:48:08 +0000</pubDate>
		<dc:creator>flamingpenguin</dc:creator>
				<category><![CDATA[web programming]]></category>

		<guid isPermaLink="false">http://www.flamingpenguin.co.uk/blog/?p=66</guid>
		<description><![CDATA[From the site: The concept of a Webhook is simple. A WebHook is an HTTP callback: an HTTP POST that occurs when something happens; a simple event-notification via HTTP POST. A web application implementing WebHooks will POST a message to &#8230; <a href="http://www.flamingpenguin.co.uk/blog/2012/03/16/webhooks-event-driven-rest/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>From the site:</p>
<blockquote><p>The concept of a <a href="http://wiki.webhooks.org/w/page/13385124/FrontPage" title="Webhooks site">Webhook</a> is simple. A WebHook is an HTTP callback: an HTTP POST that occurs when something happens; a simple event-notification via HTTP POST.</p>
<p>A web application implementing WebHooks will POST a message to a URL when certain things happen. When a web application enables users to register their own URLs, the users can then extend, customize, and integrate that application with their own custom extensions or even with other applications around the web. For the user, WebHooks are a way to receive valuable information when it happens, rather than continually polling for that data and receiving nothing valuable most of the time.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.flamingpenguin.co.uk/blog/2012/03/16/webhooks-event-driven-rest/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Funcito &#8211; Java function wrapper library</title>
		<link>http://www.flamingpenguin.co.uk/blog/2012/03/12/funcito-java-function-wrapper-library/</link>
		<comments>http://www.flamingpenguin.co.uk/blog/2012/03/12/funcito-java-function-wrapper-library/#comments</comments>
		<pubDate>Mon, 12 Mar 2012 17:55:43 +0000</pubDate>
		<dc:creator>flamingpenguin</dc:creator>
				<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://www.flamingpenguin.co.uk/blog/?p=65</guid>
		<description><![CDATA[Funcito is a Java library that simplifies access to your favorite functional programming APIs by wrapping Java methods as the function-type objects defined in those libraries.]]></description>
			<content:encoded><![CDATA[<p><a href="http://code.google.com/p/funcito/" title="Funcito Java Function Library">Funcito is a Java library that simplifies access to your favorite functional programming APIs by wrapping Java methods as the function-type objects defined in those libraries. </a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.flamingpenguin.co.uk/blog/2012/03/12/funcito-java-function-wrapper-library/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

