<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>My notes</title>
	<atom:link href="http://germanogiudici.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://germanogiudici.wordpress.com</link>
	<description>Germano Giudici's blog</description>
	<lastBuildDate>Sat, 24 Dec 2011 16:09:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='germanogiudici.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>My notes</title>
		<link>http://germanogiudici.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://germanogiudici.wordpress.com/osd.xml" title="My notes" />
	<atom:link rel='hub' href='http://germanogiudici.wordpress.com/?pushpress=hub'/>
		<item>
		<title>How to set timeout on burlap protocol caucho&#8217;s implementation</title>
		<link>http://germanogiudici.wordpress.com/2011/10/29/how-to-set-timeout-on-burlap-protocol-cauchos-implementation/</link>
		<comments>http://germanogiudici.wordpress.com/2011/10/29/how-to-set-timeout-on-burlap-protocol-cauchos-implementation/#comments</comments>
		<pubDate>Sat, 29 Oct 2011 10:46:58 +0000</pubDate>
		<dc:creator>germanogiudici</dc:creator>
				<category><![CDATA[My Work]]></category>

		<guid isPermaLink="false">http://germanogiudici.wordpress.com/?p=174</guid>
		<description><![CDATA[Burlap can be easily used with spring, but with caucho&#8217;s implementation. actually it doesn&#8217;t seem possible to set the connection timeout. The only method i&#8217;ve found is to set the default timeout for jvm&#8217;s http client with these jvm&#8217;s properties<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=germanogiudici.wordpress.com&amp;blog=5816415&amp;post=174&amp;subd=germanogiudici&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Burlap can be easily used with spring, but with <a href="http://www.caucho.com/">caucho&#8217;s implementation</a>. actually it doesn&#8217;t seem possible to set the connection timeout.<br />
The only method i&#8217;ve found is to set the default timeout for jvm&#8217;s http client with <a href="http://download.oracle.com/javase/1.5.0/docs/guide/net/properties.html">these jvm&#8217;s properties</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/germanogiudici.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/germanogiudici.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/germanogiudici.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/germanogiudici.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/germanogiudici.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/germanogiudici.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/germanogiudici.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/germanogiudici.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/germanogiudici.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/germanogiudici.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/germanogiudici.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/germanogiudici.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/germanogiudici.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/germanogiudici.wordpress.com/174/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=germanogiudici.wordpress.com&amp;blog=5816415&amp;post=174&amp;subd=germanogiudici&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://germanogiudici.wordpress.com/2011/10/29/how-to-set-timeout-on-burlap-protocol-cauchos-implementation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4f4313ae6715e45727459ca1b1bb9d4d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">germanogiudici</media:title>
		</media:content>
	</item>
		<item>
		<title>How to generate serialVersionUID with intellij idea (no external plugin needed)</title>
		<link>http://germanogiudici.wordpress.com/2011/09/16/how-to-generate-serialversionuid-with-intellij-idea-no-external-plugin-needed/</link>
		<comments>http://germanogiudici.wordpress.com/2011/09/16/how-to-generate-serialversionuid-with-intellij-idea-no-external-plugin-needed/#comments</comments>
		<pubDate>Fri, 16 Sep 2011 09:39:51 +0000</pubDate>
		<dc:creator>germanogiudici</dc:creator>
				<category><![CDATA[My Work]]></category>

		<guid isPermaLink="false">http://germanogiudici.wordpress.com/?p=167</guid>
		<description><![CDATA[Select the Serializzation issues inspections: Then use the idea tools to generate the field (click on the lamp)<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=germanogiudici.wordpress.com&amp;blog=5816415&amp;post=167&amp;subd=germanogiudici&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Select the Serializzation issues inspections:</p>
<p><a href="http://germanogiudici.files.wordpress.com/2011/09/schermata.png"><img src="http://germanogiudici.files.wordpress.com/2011/09/schermata.png?w=300&#038;h=187" alt="" title="selecting the inspection" width="300" height="187" class="alignnone size-medium wp-image-168" /></a></p>
<p>Then use the idea tools to generate the field (click on the lamp)</p>
<p><a href="http://germanogiudici.files.wordpress.com/2011/09/schermata-1.png"><img src="http://germanogiudici.files.wordpress.com/2011/09/schermata-1.png?w=300&#038;h=187" alt="" title="click on the lamp" width="300" height="187" class="alignnone size-medium wp-image-169" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/germanogiudici.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/germanogiudici.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/germanogiudici.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/germanogiudici.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/germanogiudici.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/germanogiudici.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/germanogiudici.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/germanogiudici.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/germanogiudici.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/germanogiudici.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/germanogiudici.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/germanogiudici.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/germanogiudici.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/germanogiudici.wordpress.com/167/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=germanogiudici.wordpress.com&amp;blog=5816415&amp;post=167&amp;subd=germanogiudici&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://germanogiudici.wordpress.com/2011/09/16/how-to-generate-serialversionuid-with-intellij-idea-no-external-plugin-needed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4f4313ae6715e45727459ca1b1bb9d4d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">germanogiudici</media:title>
		</media:content>

		<media:content url="http://germanogiudici.files.wordpress.com/2011/09/schermata.png?w=300" medium="image">
			<media:title type="html">selecting the inspection</media:title>
		</media:content>

		<media:content url="http://germanogiudici.files.wordpress.com/2011/09/schermata-1.png?w=300" medium="image">
			<media:title type="html">click on the lamp</media:title>
		</media:content>
	</item>
		<item>
		<title>How to log transaction informations in jboss 4.2.3.GA</title>
		<link>http://germanogiudici.wordpress.com/2011/09/02/how-to-log-transaction-informations-in-jboss-4-2-3-ga/</link>
		<comments>http://germanogiudici.wordpress.com/2011/09/02/how-to-log-transaction-informations-in-jboss-4-2-3-ga/#comments</comments>
		<pubDate>Fri, 02 Sep 2011 13:25:27 +0000</pubDate>
		<dc:creator>germanogiudici</dc:creator>
				<category><![CDATA[My Work]]></category>

		<guid isPermaLink="false">http://germanogiudici.wordpress.com/?p=155</guid>
		<description><![CDATA[You have to change two files: 1: jbossjta-properties.xml (for logging more info at arjuna level) from: to: 2: jboss-log4j.xml (to configure log4j) adding the following lines to filter log and show which resources was enlisted in a specific transaction, we can use a command like this: grep -a &#8220;7f000101:c2ab:4e65eaa4:1eb&#8221; server.log &#124; grep -a Enlisting<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=germanogiudici.wordpress.com&amp;blog=5816415&amp;post=155&amp;subd=germanogiudici&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>You have to change two files:</p>
<p>1: jbossjta-properties.xml (for logging more info at arjuna level)</p>
<p>from:</p>
<p><pre class="brush: xml;">
...
&lt;property name=&quot;com.arjuna.common.util.logging.DebugLevel&quot;
            type=&quot;System&quot; value=&quot;0x00000000&quot;&gt;
...</pre></p>
<p>to:</p>
<p><pre class="brush: xml;">...
&lt;property name=&quot;com.arjuna.common.util.logging.DebugLevel&quot;
            type=&quot;System&quot; value=&quot;0xffffffff&quot;&gt;
...</pre></p>
<p>2: jboss-log4j.xml (to configure log4j) adding the following lines</p>
<p><pre class="brush: xml;">
...
   &lt;category name=&quot;com.arjuna&quot;&gt;
      &lt;priority value=&quot;DEBUG&quot;/&gt;
   &lt;/category&gt;

  &lt;category name=&quot;org.jboss.tm&quot;&gt;
      &lt;priority value=&quot;DEBUG&quot;/&gt;
   &lt;/category&gt;

  &lt;category name=&quot;org.jboss.resource&quot;&gt;
      &lt;priority value=&quot;TRACE&quot;/&gt;
   &lt;/category&gt;
...</pre></p>
<p>to filter log and show which resources was enlisted in a specific transaction, we can use a command like this:<br />
<strong>grep -a &#8220;7f000101:c2ab:4e65eaa4:1eb&#8221; server.log | grep -a Enlisting</strong> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/germanogiudici.wordpress.com/155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/germanogiudici.wordpress.com/155/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/germanogiudici.wordpress.com/155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/germanogiudici.wordpress.com/155/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/germanogiudici.wordpress.com/155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/germanogiudici.wordpress.com/155/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/germanogiudici.wordpress.com/155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/germanogiudici.wordpress.com/155/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/germanogiudici.wordpress.com/155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/germanogiudici.wordpress.com/155/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/germanogiudici.wordpress.com/155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/germanogiudici.wordpress.com/155/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/germanogiudici.wordpress.com/155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/germanogiudici.wordpress.com/155/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=germanogiudici.wordpress.com&amp;blog=5816415&amp;post=155&amp;subd=germanogiudici&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://germanogiudici.wordpress.com/2011/09/02/how-to-log-transaction-informations-in-jboss-4-2-3-ga/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4f4313ae6715e45727459ca1b1bb9d4d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">germanogiudici</media:title>
		</media:content>
	</item>
		<item>
		<title>How to extends a jar packaged maven plugin</title>
		<link>http://germanogiudici.wordpress.com/2011/04/21/how-to-extends-a-jar-packaged-maven-plugin/</link>
		<comments>http://germanogiudici.wordpress.com/2011/04/21/how-to-extends-a-jar-packaged-maven-plugin/#comments</comments>
		<pubDate>Thu, 21 Apr 2011 15:02:51 +0000</pubDate>
		<dc:creator>germanogiudici</dc:creator>
				<category><![CDATA[My Work]]></category>

		<guid isPermaLink="false">http://germanogiudici.wordpress.com/?p=145</guid>
		<description><![CDATA[I&#8217;ve used this plugin to extend dependency plugin&#8217;s copy-dependency goal. This is my mojo My mojo extends dependency plugin&#8217;s CopyDependenciesMojo, inheriting its properties. These declarations: * @extendsPlugin dependency * @extendsGoal copy-dependencies are maven-inherit-plugin specific. With the help of these instructions maven-inherit-plugin merges the plugin.xml files exposing inherited properties. Without this code super.outputDirectory=this.outputDirectory; super.overWriteReleases=this.overWriteReleases; super.overWriteSnapshots=this.overWriteSnapshots; super.overWriteIfNewer=this.overWriteIfNewer; super.includeScope=this.includeScope; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=germanogiudici.wordpress.com&amp;blog=5816415&amp;post=145&amp;subd=germanogiudici&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve used <a href="http://www.ops4j.org/projects/pax/construct/maven-inherit-plugin/">this plugin</a> to extend dependency plugin&#8217;s copy-dependency goal.</p>
<p>This is my mojo</p>
<p><pre class="brush: java;">
/**
 * @extendsPlugin dependency
 * @extendsGoal copy-dependencies
 * @goal deploy-env-lib
 * @requiresDependencyResolution test
 * @aggregator
 */
public class DeployEnvironmentLibMojo extends CopyDependenciesMojo{

    /**
     * La home di JBoss.
     *
     * @parameter expression=&quot;${jboss.home}&quot;
     * @required
     */
    protected String jbossHome;

    /**
     * Il nome del server JBoss.
     *
     * @parameter expression=&quot;${jboss.serverName}&quot;
     * @required
     */
    protected String jbossServerName;

    /**
     * POM
     *
     * @parameter expression=&quot;${project}&quot;
     * @readonly
     * @required
     */
    protected MavenProject project;

    public void execute() throws MojoExecutionException {
        getLog().info(&quot;------------------------------------------------------------------------&quot;);
        getLog().info(&quot;DEPLOY-ENV-LIB&quot;);
        getLog().info(&quot;------------------------------------------------------------------------&quot;);
        super.outputDirectory=this.outputDirectory;
        super.overWriteReleases=this.overWriteReleases;
        super.overWriteSnapshots=this.overWriteSnapshots;
        super.overWriteIfNewer=this.overWriteIfNewer;
        super.includeScope=this.includeScope;
        super.excludeGroupIds=this.excludeGroupIds;
        super.excludeArtifactIds=this.excludeArtifactIds;
        super.project=this.project;
        super.repositoryFactory=this.repositoryFactory;
        super.installer=this.installer;
        super.factory=this.factory;
        super.resolver=this.resolver;
        super.remoteRepos=this.remoteRepos;
        super.copyPom=this.copyPom;
        super.execute();

    }
}
</pre></p>
<p>My mojo extends dependency plugin&#8217;s CopyDependenciesMojo, inheriting its properties.<br />
These declarations:<br />
<strong><br />
* @extendsPlugin dependency<br />
* @extendsGoal copy-dependencies<br />
</strong><br />
are maven-inherit-plugin specific. With the help of these instructions maven-inherit-plugin merges the plugin.xml files exposing inherited properties.</p>
<p>Without this code<br />
<strong><br />
super.outputDirectory=this.outputDirectory;<br />
super.overWriteReleases=this.overWriteReleases;<br />
super.overWriteSnapshots=this.overWriteSnapshots;<br />
super.overWriteIfNewer=this.overWriteIfNewer;<br />
super.includeScope=this.includeScope;<br />
super.excludeGroupIds=this.excludeGroupIds;<br />
super.excludeArtifactIds=this.excludeArtifactIds;<br />
super.project=this.project;<br />
super.repositoryFactory=this.repositoryFactory;<br />
super.installer=this.installer;<br />
super.factory=this.factory;<br />
super.resolver=this.resolver;<br />
super.remoteRepos=this.remoteRepos;<br />
super.copyPom=this.copyPom;<br />
</strong><br />
the program won&#8217;t work correctly. It seems like the parameters injection doesn&#8217;t work correctly with superclasses&#8230;</p>
<p>These are the new entries in my plugin pom:</p>
<p><pre class="brush: xml;">
   &lt;build&gt;
        &lt;plugins&gt;
            &lt;plugin&gt;
                &lt;groupId&gt;org.ops4j&lt;/groupId&gt;
                &lt;artifactId&gt;maven-inherit-plugin&lt;/artifactId&gt;
                &lt;version&gt;1.1&lt;/version&gt;
                &lt;executions&gt;
                    &lt;execution&gt;
                        &lt;goals&gt;
                            &lt;goal&gt;inherit&lt;/goal&gt;
                        &lt;/goals&gt;
                    &lt;/execution&gt;
                &lt;/executions&gt;
            &lt;/plugin&gt;
        &lt;/plugins&gt;
    &lt;/build&gt;
</pre><br />
<pre class="brush: xml;">
    &lt;dependencies&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
            &lt;artifactId&gt;maven-dependency-plugin&lt;/artifactId&gt;
            &lt;type&gt;maven-plugin&lt;/type&gt;
            &lt;version&gt;2.2&lt;/version&gt;
        &lt;/dependency&gt;
    &lt;/dependencies&gt;
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/germanogiudici.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/germanogiudici.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/germanogiudici.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/germanogiudici.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/germanogiudici.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/germanogiudici.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/germanogiudici.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/germanogiudici.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/germanogiudici.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/germanogiudici.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/germanogiudici.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/germanogiudici.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/germanogiudici.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/germanogiudici.wordpress.com/145/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=germanogiudici.wordpress.com&amp;blog=5816415&amp;post=145&amp;subd=germanogiudici&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://germanogiudici.wordpress.com/2011/04/21/how-to-extends-a-jar-packaged-maven-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4f4313ae6715e45727459ca1b1bb9d4d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">germanogiudici</media:title>
		</media:content>
	</item>
		<item>
		<title>How to recursively search a pattern with GREP in many files with the same name</title>
		<link>http://germanogiudici.wordpress.com/2010/11/05/how-to-recursively-search-a-pattern-with-grep-in-many-files-with-the-same-name/</link>
		<comments>http://germanogiudici.wordpress.com/2010/11/05/how-to-recursively-search-a-pattern-with-grep-in-many-files-with-the-same-name/#comments</comments>
		<pubDate>Fri, 05 Nov 2010 14:57:05 +0000</pubDate>
		<dc:creator>germanogiudici</dc:creator>
				<category><![CDATA[My Work]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://germanogiudici.wordpress.com/?p=140</guid>
		<description><![CDATA[rgrep -iH &#8211;include=filename &#8216;pattern&#8217; . N.B. the trailing point is important!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=germanogiudici.wordpress.com&amp;blog=5816415&amp;post=140&amp;subd=germanogiudici&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>rgrep -iH &#8211;include=<em>filename</em> <em>&#8216;pattern&#8217;</em> .</p>
<p>N.B. the trailing point is important!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/germanogiudici.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/germanogiudici.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/germanogiudici.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/germanogiudici.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/germanogiudici.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/germanogiudici.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/germanogiudici.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/germanogiudici.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/germanogiudici.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/germanogiudici.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/germanogiudici.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/germanogiudici.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/germanogiudici.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/germanogiudici.wordpress.com/140/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=germanogiudici.wordpress.com&amp;blog=5816415&amp;post=140&amp;subd=germanogiudici&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://germanogiudici.wordpress.com/2010/11/05/how-to-recursively-search-a-pattern-with-grep-in-many-files-with-the-same-name/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4f4313ae6715e45727459ca1b1bb9d4d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">germanogiudici</media:title>
		</media:content>
	</item>
		<item>
		<title>How exclude test execution with maven release plugin</title>
		<link>http://germanogiudici.wordpress.com/2010/10/13/how-exclude-test-execution-with-maven-release-plugin/</link>
		<comments>http://germanogiudici.wordpress.com/2010/10/13/how-exclude-test-execution-with-maven-release-plugin/#comments</comments>
		<pubDate>Wed, 13 Oct 2010 11:47:59 +0000</pubDate>
		<dc:creator>germanogiudici</dc:creator>
				<category><![CDATA[My Work]]></category>
		<category><![CDATA[maven]]></category>

		<guid isPermaLink="false">http://germanogiudici.wordpress.com/?p=136</guid>
		<description><![CDATA[mvn release:prepare -Darguments=&#8221;-Dmaven.test.skip=true&#8221;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=germanogiudici.wordpress.com&amp;blog=5816415&amp;post=136&amp;subd=germanogiudici&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>mvn release:prepare -Darguments=&#8221;-Dmaven.test.skip=true&#8221;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/germanogiudici.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/germanogiudici.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/germanogiudici.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/germanogiudici.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/germanogiudici.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/germanogiudici.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/germanogiudici.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/germanogiudici.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/germanogiudici.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/germanogiudici.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/germanogiudici.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/germanogiudici.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/germanogiudici.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/germanogiudici.wordpress.com/136/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=germanogiudici.wordpress.com&amp;blog=5816415&amp;post=136&amp;subd=germanogiudici&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://germanogiudici.wordpress.com/2010/10/13/how-exclude-test-execution-with-maven-release-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4f4313ae6715e45727459ca1b1bb9d4d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">germanogiudici</media:title>
		</media:content>
	</item>
		<item>
		<title>How to send a tx transactional jms message from a local jboss to a remote jboss (version 4.2.3.GA)</title>
		<link>http://germanogiudici.wordpress.com/2010/09/01/how-to-send-a-tx-transactional-jms-message-from-a-local-jboss-to-a-remote-jboss-version-4-2-3-ga/</link>
		<comments>http://germanogiudici.wordpress.com/2010/09/01/how-to-send-a-tx-transactional-jms-message-from-a-local-jboss-to-a-remote-jboss-version-4-2-3-ga/#comments</comments>
		<pubDate>Wed, 01 Sep 2010 13:19:34 +0000</pubDate>
		<dc:creator>germanogiudici</dc:creator>
				<category><![CDATA[My Work]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jboss]]></category>
		<category><![CDATA[jms]]></category>

		<guid isPermaLink="false">http://germanogiudici.wordpress.com/?p=124</guid>
		<description><![CDATA[To send a jms message from a jboss to a remote jboss destination you have to configure a new JMSResourceAdapter. This code does not work! This code correctly sends the message but the tx transactional behaviour is not implemented You have to: 1. deploy a new JMSResourceAdapter duplicating the file hajndi-jms-ds.xml e.g. remote-jms-ds.xml: 2. now [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=germanogiudici.wordpress.com&amp;blog=5816415&amp;post=124&amp;subd=germanogiudici&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To send a jms message from a jboss to a remote jboss destination you have to configure a new JMSResourceAdapter.</p>
<p><strong>This code does not work! </strong><br />
<pre class="brush: java;">
    Properties properties = new Properties();
    properties.put(Context.INITIAL_CONTEXT_FACTORY, &quot;org.jnp.interfaces.NamingContextFactory&quot;);
    properties.put(Context.URL_PKG_PREFIXES, &quot;org.jnp.interfaces&quot;);
    properties.put(Context.PROVIDER_URL, &quot;jnp://192.168.1.131.129:1299&quot;);
    InitialContext jndiContext = new InitialContext(properties);

    //[2] Look up connection factory and queue.
    ConnectionFactory connectionFactory = (ConnectionFactory)jndiContext.lookup(&quot;UIL2XAConnectionFactory&quot;);
    Queue queue = (Queue)jndiContext.lookup(&quot;Queue/DataTransferQueue&quot;);
</pre></p>
<p><strong>This code correctly sends the message but the tx transactional behaviour is not implemented</strong></p>
<p>You have to:<br />
1. deploy a new JMSResourceAdapter duplicating the file hajndi-jms-ds.xml e.g. remote-jms-ds.xml:</p>
<p><pre class="brush: xml;">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;

&lt;connection-factories&gt;
 
  &lt;!-- ==================================================================== --&gt;
  &lt;!-- JMS Stuff                                                            --&gt;
  &lt;!-- ==================================================================== --&gt;

  &lt;!-- The JMS provider loader --&gt;
  &lt;mbean code=&quot;org.jboss.jms.jndi.JMSProviderLoader&quot;
	 name=&quot;jboss.mq:service=JMSProviderLoader,name=RemoteJMSProvider&quot;&gt;
    &lt;attribute name=&quot;ProviderName&quot;&gt;RemoteJMSProvider&lt;/attribute&gt;
    &lt;attribute name=&quot;ProviderAdapterClass&quot;&gt;
      org.jboss.jms.jndi.JNDIProviderAdapter
    &lt;/attribute&gt;
    &lt;!-- The combined connection factory --&gt;
    &lt;attribute name=&quot;FactoryRef&quot;&gt;XAConnectionFactory&lt;/attribute&gt;
    &lt;!-- The queue connection factory --&gt;
    &lt;attribute name=&quot;QueueFactoryRef&quot;&gt;XAConnectionFactory&lt;/attribute&gt;
    &lt;!-- The topic factory --&gt;
    &lt;attribute name=&quot;TopicFactoryRef&quot;&gt;XAConnectionFactory&lt;/attribute&gt;
    &lt;!-- Access JMS via HAJNDI --&gt;
    &lt;attribute name=&quot;Properties&quot;&gt;
       java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
       java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
       java.naming.provider.url=10.4.0.7:1100
    &lt;/attribute&gt;
  &lt;/mbean&gt;


  &lt;!-- JMS XA Resource adapter, use this to get transacted JMS in beans --&gt;
  &lt;tx-connection-factory&gt;
    &lt;jndi-name&gt;RemoteJmsXA&lt;/jndi-name&gt;
    &lt;xa-transaction/&gt;
    &lt;rar-name&gt;jms-ra.rar&lt;/rar-name&gt;
    &lt;connection-definition&gt;org.jboss.resource.adapter.jms.JmsConnectionFactory&lt;/connection-definition&gt;
    &lt;config-property name=&quot;SessionDefaultType&quot; type=&quot;java.lang.String&quot;&gt;javax.jms.Topic&lt;/config-property&gt;
    &lt;config-property name=&quot;JmsProviderAdapterJNDI&quot; type=&quot;java.lang.String&quot;&gt;java:/RemoteJMSProvider&lt;/config-property&gt;
    &lt;max-pool-size&gt;20&lt;/max-pool-size&gt;
    &lt;!--security-domain-and-application&gt;JmsXARealm&lt;/security-domain-and-application--&gt;
  &lt;/tx-connection-factory&gt;
&lt;/connection-factories&gt;
</pre></p>
<p>2. now you can get the new connection factory in the local jndi (really getting the adapter pointing the remote connection factory) and then get the remote destination via a remote jndi context.</p>
<p><pre class="brush: java;">
    Properties properties = new Properties();
    properties.put(Context.INITIAL_CONTEXT_FACTORY, &quot;org.jnp.interfaces.NamingContextFactory&quot;);
    properties.put(Context.URL_PKG_PREFIXES, &quot;org.jnp.interfaces&quot;);
    properties.put(Context.PROVIDER_URL, &quot;jnp://10.4.0.7:1100&quot;);
    InitialContext localJndiContext = new InitialContext();
    InitialContext remoteJndiContext = new InitialContext(properties);

    //[2] Look up connection factory and queue.
    ConnectionFactory connectionFactory = (ConnectionFactory)localJndiContext.lookup(&quot;java:/RemoteJmsXA&quot;);
    Queue queue = (Queue)remoteJndiContext.lookup(&quot;Queue/DataTransferQueue&quot;);
    //now you can send a jms message and the real sending will be done at tx commit time.
     Connection  connection = connectionFactory.createConnection();
     Session session = connection.createSession();
     MessageProducer  sender = session.createProducer(queue);
</pre><br />
references:<br />
<a href="http://community.jboss.org/wiki/HowDoIConfigureTheJMSResourceAdapterToUseARemoteConnectionFactory">HowDoIConfigureTheJMSResourceAdapterToUseARemoteConnectionFactory</a><br />
<a href="http://community.jboss.org/wiki/JBossMQHAOverview">JBossMQHAOverview</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/germanogiudici.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/germanogiudici.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/germanogiudici.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/germanogiudici.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/germanogiudici.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/germanogiudici.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/germanogiudici.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/germanogiudici.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/germanogiudici.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/germanogiudici.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/germanogiudici.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/germanogiudici.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/germanogiudici.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/germanogiudici.wordpress.com/124/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=germanogiudici.wordpress.com&amp;blog=5816415&amp;post=124&amp;subd=germanogiudici&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://germanogiudici.wordpress.com/2010/09/01/how-to-send-a-tx-transactional-jms-message-from-a-local-jboss-to-a-remote-jboss-version-4-2-3-ga/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4f4313ae6715e45727459ca1b1bb9d4d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">germanogiudici</media:title>
		</media:content>
	</item>
		<item>
		<title>How to send a jms message to an activemq queue with camel and spring</title>
		<link>http://germanogiudici.wordpress.com/2010/04/06/how-to-send-a-jms-message-to-an-activemq-queue-with-camel-and-spring/</link>
		<comments>http://germanogiudici.wordpress.com/2010/04/06/how-to-send-a-jms-message-to-an-activemq-queue-with-camel-and-spring/#comments</comments>
		<pubDate>Tue, 06 Apr 2010 13:42:19 +0000</pubDate>
		<dc:creator>germanogiudici</dc:creator>
				<category><![CDATA[My Work]]></category>
		<category><![CDATA[activemq]]></category>
		<category><![CDATA[camel]]></category>
		<category><![CDATA[jms]]></category>
		<category><![CDATA[spring]]></category>

		<guid isPermaLink="false">http://germanogiudici.wordpress.com/?p=111</guid>
		<description><![CDATA[these are the necessary dependencies for using camel to send a message to an activemq queue&#8230; In this spring context i&#8217;m defining a camel context with the endpoint pointing to the queue&#8230; Finally here I&#8217;m using the ProducerTemplate to send the message&#8230;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=germanogiudici.wordpress.com&amp;blog=5816415&amp;post=111&amp;subd=germanogiudici&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>these are the necessary dependencies for using camel to send a message to an activemq queue&#8230;<br />
<pre class="brush: xml;">
        &lt;dependency&gt;
            &lt;groupId&gt;org.springframework&lt;/groupId&gt;
            &lt;artifactId&gt;spring-aop&lt;/artifactId&gt;
            &lt;version&gt;${spring.version}&lt;/version&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;org.springframework&lt;/groupId&gt;
            &lt;artifactId&gt;spring-beans&lt;/artifactId&gt;
            &lt;version&gt;${spring.version}&lt;/version&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;org.springframework&lt;/groupId&gt;
            &lt;artifactId&gt;spring-context&lt;/artifactId&gt;
            &lt;version&gt;${spring.version}&lt;/version&gt;
        &lt;/dependency&gt;
            &lt;dependency&gt;
                &lt;groupId&gt;org.springframework&lt;/groupId&gt;
                &lt;artifactId&gt;spring-core&lt;/artifactId&gt;
                &lt;version&gt;${spring.version}&lt;/version&gt;
            &lt;/dependency&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
            &lt;artifactId&gt;camel-core&lt;/artifactId&gt;
            &lt;version&gt;${camel.version}&lt;/version&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
            &lt;artifactId&gt;camel-jaxb&lt;/artifactId&gt;
            &lt;version&gt;${camel.version}&lt;/version&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
            &lt;artifactId&gt;camel-jms&lt;/artifactId&gt;
            &lt;version&gt;${camel.version}&lt;/version&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;org.apache.activemq&lt;/groupId&gt;
            &lt;artifactId&gt;activemq-camel&lt;/artifactId&gt;
            &lt;version&gt;${activemq.version}&lt;/version&gt;
        &lt;/dependency&gt;       
</pre></p>
<p>In this spring context i&#8217;m defining a camel context with the endpoint pointing to the queue&#8230;<br />
<pre class="brush: xml;">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;beans xmlns=&quot;http://www.springframework.org/schema/beans&quot;
	xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; 	
	xmlns:context=&quot;http://www.springframework.org/schema/context&quot;
     xmlns:camel=&quot;http://camel.apache.org/schema/spring&quot;
	xsi:schemaLocation=&quot;http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
	http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd
	 http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd&quot;&gt;
 

&lt;!-- my activemq component --&gt;
    &lt;bean id=&quot;activemq&quot; class=&quot;org.apache.activemq.camel.component.ActiveMQComponent&quot;&gt;
        &lt;property name=&quot;brokerURL&quot; value=&quot;tcp://myserver:61616&quot;/&gt;
        &lt;property name=&quot;transacted&quot; value=&quot;true&quot;/&gt;        
        &lt;property name=&quot;usePooledConnection&quot; value=&quot;true&quot;/&gt;
    &lt;/bean&gt;

&lt;!-- this is the camel context --&gt;
    &lt;camel:camelContext id=&quot;myCamelContext&quot; trace=&quot;true&quot;&gt;
        &lt;camel:endpoint id=&quot;myQueue&quot; uri=&quot;activemq:queue:myqueue/myService?jmsMessageType=Text&quot;/&gt;
        &lt;camel:dataFormats&gt;
            &lt;camel:jaxb id=&quot;JaxbContext&quot; contextPath=&quot;it.germanogiudici.types.mymessagetype.v1_0&quot; prettyPrint=&quot;true&quot;/&gt;
        &lt;/camel:dataFormats&gt;
    &lt;/camel:camelContext&gt;
&lt;/beans&gt;
</pre></p>
<p>Finally here I&#8217;m using the ProducerTemplate to send the message&#8230;<br />
<pre class="brush: java;">
//here I'm using an helper class to retrieve the camel context bean from spring context
                CamelContext camelContext = (CamelContext) SpringApplicationContextHelper.getInstance().getBean(&quot;myCamelContext&quot;);
                Endpoint myQueue = (Endpoint) SpringApplicationContextHelper.getInstance().getBean(&quot;myQueue&quot;);
                logProcess.debug(&quot;endpoint a cui spedire l'evento: &quot; + myQueue.getEndpointUri());
                ProducerTemplate producerTemplate = camelContext.createProducerTemplate();
                producerTemplate.sendBody(myQueue, depositEvent);
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/germanogiudici.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/germanogiudici.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/germanogiudici.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/germanogiudici.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/germanogiudici.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/germanogiudici.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/germanogiudici.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/germanogiudici.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/germanogiudici.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/germanogiudici.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/germanogiudici.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/germanogiudici.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/germanogiudici.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/germanogiudici.wordpress.com/111/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=germanogiudici.wordpress.com&amp;blog=5816415&amp;post=111&amp;subd=germanogiudici&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://germanogiudici.wordpress.com/2010/04/06/how-to-send-a-jms-message-to-an-activemq-queue-with-camel-and-spring/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4f4313ae6715e45727459ca1b1bb9d4d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">germanogiudici</media:title>
		</media:content>
	</item>
		<item>
		<title>How to sign and verify a message using spring</title>
		<link>http://germanogiudici.wordpress.com/2010/02/19/how-to-sign-ad-verify-a-message-using-spring/</link>
		<comments>http://germanogiudici.wordpress.com/2010/02/19/how-to-sign-ad-verify-a-message-using-spring/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 12:09:30 +0000</pubDate>
		<dc:creator>germanogiudici</dc:creator>
				<category><![CDATA[My Work]]></category>
		<category><![CDATA[cryptography]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[spring]]></category>

		<guid isPermaLink="false">http://germanogiudici.wordpress.com/?p=104</guid>
		<description><![CDATA[You can use spring-crypto-utils a wrapper around java&#8217;s native cryptography API. I&#8217;m very proud of my little collaboration to this project, hosted by Mirko Caserta. With real little configuration&#8230; &#8230;you can sign a message using a code like this:<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=germanogiudici.wordpress.com&amp;blog=5816415&amp;post=104&amp;subd=germanogiudici&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>You can use <a href="https://code.google.com/p/spring-crypto-utils/">spring-crypto-utils</a> a wrapper around java&#8217;s native cryptography API. I&#8217;m very proud of my little collaboration to this project, hosted by <a href="http://nerdnotes.wordpress.com/">Mirko Caserta</a>.</p>
<p>With real little configuration&#8230;</p>
<p><pre class="brush: xml;">
    &lt;crypt:keystore id=&quot;keystore&quot; location=&quot;classpath:keystore.jks&quot; password=&quot;password&quot;/&gt;
    &lt;crypt:privateKey id=&quot;privateKey&quot; keystore-ref=&quot;keystore&quot; alias=&quot;test&quot; password=&quot;password&quot;/&gt;
    &lt;crypt:signer id=&quot;signer&quot; privateKey-ref=&quot;privateKey&quot; algorithm=&quot;SHA1withRSA&quot;/&gt;
</pre></p>
<p>&#8230;you can sign a message using a code like this:</p>
<p><pre class="brush: java;">
public class MyBusinessSigner {

    @Autowired
    private Signer signer;

    public void myBusinessMethod() {
        // I am not a very useful business method but
        // I can do digital signatures!
        byte[] signature = signer.sign(messageToBeTrusted);
    }
}
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/germanogiudici.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/germanogiudici.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/germanogiudici.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/germanogiudici.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/germanogiudici.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/germanogiudici.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/germanogiudici.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/germanogiudici.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/germanogiudici.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/germanogiudici.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/germanogiudici.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/germanogiudici.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/germanogiudici.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/germanogiudici.wordpress.com/104/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=germanogiudici.wordpress.com&amp;blog=5816415&amp;post=104&amp;subd=germanogiudici&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://germanogiudici.wordpress.com/2010/02/19/how-to-sign-ad-verify-a-message-using-spring/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4f4313ae6715e45727459ca1b1bb9d4d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">germanogiudici</media:title>
		</media:content>
	</item>
		<item>
		<title>How to delete recursively nested directories in Linux by name</title>
		<link>http://germanogiudici.wordpress.com/2010/02/05/how-to-delete-recursively-directories-in-linux/</link>
		<comments>http://germanogiudici.wordpress.com/2010/02/05/how-to-delete-recursively-directories-in-linux/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 11:50:51 +0000</pubDate>
		<dc:creator>germanogiudici</dc:creator>
				<category><![CDATA[My Work]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://germanogiudici.wordpress.com/?p=97</guid>
		<description><![CDATA[find . -type d -name NOME-DIRECTORY -exec rm -rf {} \; thanks to Mirko&#8230;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=germanogiudici.wordpress.com&amp;blog=5816415&amp;post=97&amp;subd=germanogiudici&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre>
find . -type d -name NOME-DIRECTORY -exec rm -rf {} \;
</pre>
<p>thanks to Mirko&#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/germanogiudici.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/germanogiudici.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/germanogiudici.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/germanogiudici.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/germanogiudici.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/germanogiudici.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/germanogiudici.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/germanogiudici.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/germanogiudici.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/germanogiudici.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/germanogiudici.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/germanogiudici.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/germanogiudici.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/germanogiudici.wordpress.com/97/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=germanogiudici.wordpress.com&amp;blog=5816415&amp;post=97&amp;subd=germanogiudici&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://germanogiudici.wordpress.com/2010/02/05/how-to-delete-recursively-directories-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4f4313ae6715e45727459ca1b1bb9d4d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">germanogiudici</media:title>
		</media:content>
	</item>
	</channel>
</rss>
