<?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>Enrico Cervato&#039;s weblog</title>
	<atom:link href="http://cervatz.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://cervatz.wordpress.com</link>
	<description>Enrico Cervato&#039;s weblog</description>
	<lastBuildDate>Fri, 18 Mar 2011 09:53:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='cervatz.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/1d224461a975955e22f7e24825a12a1c?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Enrico Cervato&#039;s weblog</title>
		<link>http://cervatz.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://cervatz.wordpress.com/osd.xml" title="Enrico Cervato&#039;s weblog" />
	<atom:link rel='hub' href='http://cervatz.wordpress.com/?pushpress=hub'/>
		<item>
		<title>A simple Jackson example in tree model mode with maven: google geocode service parsing</title>
		<link>http://cervatz.wordpress.com/2011/03/18/a-simple-jackson-example-in-tree-model-mode-with-maven-google-geocode-service-parsing/</link>
		<comments>http://cervatz.wordpress.com/2011/03/18/a-simple-jackson-example-in-tree-model-mode-with-maven-google-geocode-service-parsing/#comments</comments>
		<pubDate>Fri, 18 Mar 2011 09:49:12 +0000</pubDate>
		<dc:creator>cervatz</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://cervatz.wordpress.com/?p=48</guid>
		<description><![CDATA[In this blog post a small usage example of Jackson (http://jackson.codehaus.org), a very useful high-performance JSON processor written in java. At the end of this post you will be able to perform an http call to the Google Geocoding API (http://code.google.com/apis/maps/documentation/geocoding) providing an address as a parameter, parse the result with Jackson and retrieve the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cervatz.wordpress.com&amp;blog=4141613&amp;post=48&amp;subd=cervatz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In this blog post a small usage example of Jackson (<a href="http://jackson.codehaus.org">http://jackson.codehaus.org</a>), a very useful high-performance JSON processor written in java.</p>
<p>At the end of this post you will be able to perform an http call to the Google Geocoding API (<a href="http://code.google.com/apis/maps/documentation/geocoding">http://code.google.com/apis/maps/documentation/geocoding</a>) providing an address as a parameter, parse the result with Jackson and retrieve the coordinates of that point. Personally I was surprised how simple Jackson can be.</p>
<p>Jackson provide three alternative methods to get what you want</p>
<ul>
<li>Streaming API: reads and writes JSON content as discrete events.</li>
<li>Tree Model: provides a mutable in-memory tree representation of a JSON document.</li>
<li>Data Binding: converts JSON to and from POJOs based either on property accessor conventions or annotations.</li>
</ul>
<p>In my situation I simply needed to parse the JSON response and retrieve the two values for the coordinates. These values are in fixed positions in the JSON. In the beginning I was tempted to go for a Data Binding approach, but at a second glance the needed to create a java object mapping all the json structure did not result very attractive. Needing to retrieve only to values from the whole JSON the Tree Model approach is the one which suits the best. You will see here below how quick it is.</p>
<p>First of all, here below the two dependencies you should put in the pom of your project. Please note that the jackson libraries are very light and have zero dependencies, they rely only on the JDK. Check the Jackson website which is the last version released; in the moment when this blog post was written it was the 1.7.4. The Jackson dependencies are provided with two possible licenses: LGPL and ASL. Choose the one that better suits your project.</p>
<pre><code>

&lt;dependency&gt;
&lt;groupId&gt;org.codehaus.jackson&lt;/groupId&gt;
&lt;artifactId&gt;jackson-core-asl&lt;/artifactId&gt;
&lt;version&gt;1.7.4&lt;/version&gt;
&lt;/dependency&gt;

&lt;dependency&gt;
&lt;groupId&gt;org.codehaus.jackson&lt;/groupId&gt;
&lt;artifactId&gt;jackson-mapper-asl&lt;/artifactId&gt;
&lt;version&gt;1.7.4&lt;/version&gt;
&lt;/dependency&gt;

</code></pre>
<p>At this point have a look to an example of google geocode service response at <a href="http://code.google.com/apis/maps/documentation/geocoding/#GeocodingResponses">http://code.google.com/apis/maps/documentation/geocoding/#GeocodingResponses</a>. The fields we will retrieve are &#8216;lat&#8217; and &#8216;lng&#8217; and they are in the subnode ROOT -&gt; results -&gt; address_components -&gt; geometry -&gt; location.</p>
<p>The code here below will perform an http request to the google geocode service, will feed the resulting InputStreamReader to the Jackson ObjectMapper and will browse the nodes till the one we are interested in. The great thing is we do not need to go through every single node till we reach the node we are interested in. We can simply perform a call rootNode.findValue(&#8220;location&#8221;) and this will look up the node in the descendents of the root, not only in children. This will free us to specify the complete path and will make our code very flexible. The format of JSON we are computing can change, but our code will keep on working till the location node will be a descendent of the root, no matter where it will be placed exactly.</p>
<pre><code>

URL googleMapsUrl = new URL("http://maps.googleapis.com/maps/api/geocode/json?sensor=false&amp;address=" + URLEncoder.encode(address, "UTF-8"));
URLConnection connection = googleMapsUrl.openConnection();
InputStreamReader inputStreamReader = new InputStreamReader(connection.getInputStream(), "UTF-8");

ObjectMapper mapper = new ObjectMapper();
JsonNode rootNode = mapper.readValue(getGoogleInputStream(address), JsonNode.class);
JsonNode locationNode = rootNode.findValue("location");
String latitude = locationNode.findValue("lat").toString();
String longitude = locationNode.findValue("lng").toString();

</code></pre>
<p>Please note this is not at all production ready code, it is simply a set of instructions relevant for the example I collected from here and there from different methods, only to give you an idea about the actions to be performed. Make sure all possible exceptions are catched and refactor the code more conveniently in different methods.</p>
<p>A final note: if you are planning to use the Google Geocoding API please note that there are some usage limits. From the google website you can read that the use of the Google Geocoding API is subject to a query limit of 2,500 geolocation requests per day. If you wish to have more requests at your disposal you will have to upgrade to Google Maps API Premier.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cervatz.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cervatz.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cervatz.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cervatz.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cervatz.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cervatz.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cervatz.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cervatz.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cervatz.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cervatz.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cervatz.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cervatz.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cervatz.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cervatz.wordpress.com/48/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cervatz.wordpress.com&amp;blog=4141613&amp;post=48&amp;subd=cervatz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cervatz.wordpress.com/2011/03/18/a-simple-jackson-example-in-tree-model-mode-with-maven-google-geocode-service-parsing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/af261a4418e290e4cccd3045d8f3af3e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cervatz</media:title>
		</media:content>
	</item>
		<item>
		<title>JSTL:catch</title>
		<link>http://cervatz.wordpress.com/2010/04/01/jstlcatch/</link>
		<comments>http://cervatz.wordpress.com/2010/04/01/jstlcatch/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 15:16:34 +0000</pubDate>
		<dc:creator>cervatz</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://cervatz.wordpress.com/?p=39</guid>
		<description><![CDATA[Today I discovered something very useful. I considered myself quite expert about JSTL and I wonder how come I never noticed the existence of this interesting tag. The tag I am referring to is the c:catch in the JSTL core library. This permits to simulate the classical try-catch blocks speaking in java terms. When you [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cervatz.wordpress.com&amp;blog=4141613&amp;post=39&amp;subd=cervatz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today I discovered something very useful. I considered myself quite expert about JSTL and I wonder how come I never noticed the existence of this interesting tag.</p>
<p>The tag I am referring to is the c:catch in the JSTL core library. This permits to simulate the classical try-catch blocks speaking in java terms. When you use in your JSP&#8217;s only JSTL tags it is maybe not so likely to incur in exceptions (at least if you do not divide by 0 or something like that &#8230;); but if you are using third party tags libraries you might encounter situations where you need to foresee the happening of an exception and prevent this to break the execution of your JSP. Once you know the exception can happen you can simply wrap it in a c:catch block and use the variable generated to perform the</p>
<p>Here below a snippet of the easiest situation you might face. Wrap your &#8216;dangerous code&#8217; with a c:catch tag (which is the corresponding of the try section in java) and define the variable which will contain the potential Exception. If the variable will result to be null you will know that no exception occurred and you can go ahead with the execution of the standard code. Otherwise you might want to execute the alternative code (the equivalent of the code contained in the catch section in java)</p>
<pre><code>
&lt;%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %&gt;

&lt;c:catch var="signalException"&gt;
  Dangerous code
&lt;/c:catch&gt;

&lt;c:choose&gt;
  &lt;c:when test="${signalException == null}"&gt;
    Exception occurs - Execute code block A
  &lt;/c:when&gt;
  &lt;c:otherwise&gt;
    No Exception  - Execute code block B
  &lt;/c:otherwise&gt;
&lt;/c:choose&gt;

</code>
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cervatz.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cervatz.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cervatz.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cervatz.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cervatz.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cervatz.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cervatz.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cervatz.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cervatz.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cervatz.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cervatz.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cervatz.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cervatz.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cervatz.wordpress.com/39/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cervatz.wordpress.com&amp;blog=4141613&amp;post=39&amp;subd=cervatz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cervatz.wordpress.com/2010/04/01/jstlcatch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/af261a4418e290e4cccd3045d8f3af3e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cervatz</media:title>
		</media:content>
	</item>
		<item>
		<title>Debugging java applications running in Tomcat with Eclipse</title>
		<link>http://cervatz.wordpress.com/2009/06/21/debugging-java-applications-running-in-tomcat-with-eclipse/</link>
		<comments>http://cervatz.wordpress.com/2009/06/21/debugging-java-applications-running-in-tomcat-with-eclipse/#comments</comments>
		<pubDate>Sun, 21 Jun 2009 14:42:37 +0000</pubDate>
		<dc:creator>cervatz</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[IT]]></category>

		<guid isPermaLink="false">http://cervatz.wordpress.com/?p=32</guid>
		<description><![CDATA[It is trivial to debug a web application running in Tomcat with the Eclipse IDE. Simply compile and deploy the web application modules to the Tomcat server. When starting up the server use the parameter jpda; by doing that it will be started up in debug mode. The command to launch from the bin directory [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cervatz.wordpress.com&amp;blog=4141613&amp;post=32&amp;subd=cervatz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It is trivial to debug a web application running in Tomcat with the Eclipse IDE.</p>
<p>Simply compile and deploy the web application modules to the Tomcat server. When starting up the server use the parameter jpda; by doing that it will be started up in debug mode. The command to launch from the bin directory will be the following:</p>
<p>./catalina.sh jpda start</p>
<p>By doing that all the applications will run as usual but tomcat will have the debug default port 8000 waiting for possible connectors.</p>
<p>When the tomcat is up and running from eclipse:</p>
<p>Run -&gt; Debug Configurations &#8230; and in the popup window create a new launcher for a Remote Java Application. Choose the project you want to debug, set the host to &#8216;localhost&#8217; and Port to 8000 and the trick is done.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cervatz.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cervatz.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cervatz.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cervatz.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cervatz.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cervatz.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cervatz.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cervatz.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cervatz.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cervatz.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cervatz.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cervatz.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cervatz.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cervatz.wordpress.com/32/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cervatz.wordpress.com&amp;blog=4141613&amp;post=32&amp;subd=cervatz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cervatz.wordpress.com/2009/06/21/debugging-java-applications-running-in-tomcat-with-eclipse/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/af261a4418e290e4cccd3045d8f3af3e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cervatz</media:title>
		</media:content>
	</item>
		<item>
		<title>Tuckey Url Rewriter Filter</title>
		<link>http://cervatz.wordpress.com/2009/06/21/tuckey-url-rewriter-filter/</link>
		<comments>http://cervatz.wordpress.com/2009/06/21/tuckey-url-rewriter-filter/#comments</comments>
		<pubDate>Sun, 21 Jun 2009 14:33:34 +0000</pubDate>
		<dc:creator>cervatz</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://cervatz.wordpress.com/?p=19</guid>
		<description><![CDATA[Let&#8217;s say that you are a JAVA web applications developer and you want to rewrite some sets of URL&#8217;s to some other. Nothing is easier than that! Simply use the Tuckey Url Rewriter Filter (http://tuckey.org/urlrewrite/). This tool is just like Apache&#8217;s mod_rewrite and permits you to manage the url rewriting rules with a very simple [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cervatz.wordpress.com&amp;blog=4141613&amp;post=19&amp;subd=cervatz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Let&#8217;s say that you are a JAVA web applications developer and you want to rewrite some sets of URL&#8217;s to some other. Nothing is easier than that! Simply use the Tuckey Url Rewriter Filter (<a href="http://tuckey.org/urlrewrite/">http://tuckey.org/urlrewrite/</a>). This tool is just like Apache&#8217;s mod_rewrite and permits you to manage the url rewriting rules with a very simple XML files to be put in your WEB-INF folder. URL&#8217;s to be redirected can be defined via regular expressions, which makes the tool quite flexible and will permit you to handle of the rewriting situations you will have to face.</p>
<p>I would suggest you to refert to <a href="http://tuckey.org/urlrewrite">http://tuckey.org/urlrewrite</a> to see how to use the tool, but in short you simply have to define the URLRewriteFilter in your web.xml</p>
<pre><code>
   &lt;filter&gt;
      &lt;filter-name&gt;UrlRewriteFilter&lt;/filter-name&gt;
      &lt;filter-class&gt;org.tuckey.web.filters.urlrewrite.UrlRewriteFilter&lt;/filter-class&gt;
   &lt;/filter&gt;
   &lt;filter-mapping&gt;
      &lt;filter-name&gt;UrlRewriteFilter&lt;/filter-name&gt;
      &lt;url-pattern&gt;/*&lt;/url-pattern&gt;
   &lt;/filter-mapping&gt;
</code>
</pre>
<p>At this point download the sample urlrewrite.xml and put in your WEB-INF folder and the trick is done. Every time an HTTP request is performed in the domain of your web application, if the URL matches one of the rule, it will be rewritten.</p>
<p>Make sure of course that the tuckey jar is available in your project libraries. If yours is a Maven project just add the dependency:</p>
<pre><code>
   &lt;dependency&gt;
      &lt;groupId&gt;org.tuckey&lt;/groupId&gt;
      &lt;artifactId&gt;urlrewritefilter&lt;/artifactId&gt;
      &lt;version&gt;3.1.0&lt;/version&gt;
   &lt;/dependency&gt;
</code></pre>
<p>A constraint I found a little annoying is the fact that the filter is always expecting to find the urlrewrite.xml in the WEB-INF folder or your project. This is not very flexible, because it means that file must be in the war you deploy and therefore in order to change one of your redirect rules you will have to redeploy the whole application, or change the file inside the decompressed war in your web server. This does not seem very clear to me.</p>
<p>With the version 3.1.0 the org.tuckey.web.filters.urlrewrite.UrlRewriteFilter is not marked as final anymore and you can therefore extend it and you can therefore extend it and define another location where to load the configuration file from, or even load it from a remote machine. This will give you the possibility to define new rules and make them effective simply restarting the web application. Here below a simple example when you want to load the configuration file from the fixed absolute path /home/myuser/myurlrewrite.xml . In your new filter extending the <code>org.tuckey.web.filters.urlrewrite.UrlRewriteFilter</code> simply override the method loadUrlRewriter:</p>
<pre><code>
public void loadUrlRewriter(FilterConfig filterConfig) throws ServletException {
   try {
   InputStream inputStream = new FileInputStream("/home/myuser/myurlrewrite.xml");
   Conf conf1 = new Conf(filterConfig.getServletContext(), inputStream, "myurlrewrite.xml", "systemId");
   urlrewriters.add(new UrlRewriter(conf1));
   } catch (Exception e) {
      throw new ServletException(e);
   }
}
</code></pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cervatz.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cervatz.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cervatz.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cervatz.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cervatz.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cervatz.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cervatz.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cervatz.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cervatz.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cervatz.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cervatz.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cervatz.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cervatz.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cervatz.wordpress.com/19/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cervatz.wordpress.com&amp;blog=4141613&amp;post=19&amp;subd=cervatz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cervatz.wordpress.com/2009/06/21/tuckey-url-rewriter-filter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/af261a4418e290e4cccd3045d8f3af3e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cervatz</media:title>
		</media:content>
	</item>
		<item>
		<title>Orangevolt XSLT plugin</title>
		<link>http://cervatz.wordpress.com/2009/06/21/orangevolt-xslt-plugin/</link>
		<comments>http://cervatz.wordpress.com/2009/06/21/orangevolt-xslt-plugin/#comments</comments>
		<pubDate>Sun, 21 Jun 2009 13:55:40 +0000</pubDate>
		<dc:creator>cervatz</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[XSLT]]></category>

		<guid isPermaLink="false">http://cervatz.wordpress.com/?p=16</guid>
		<description><![CDATA[Have you ever been working with XSLT transformations? Well I have been and I was not able to find an easy way to test my XSLT transformations. Of course you can write a couple of JAVA classes performing the transformation, but if you are having a lazy day and you do not feel like writing [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cervatz.wordpress.com&amp;blog=4141613&amp;post=16&amp;subd=cervatz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Have you ever been working with XSLT transformations? Well I have been and I was not able to find an easy way to test my XSLT transformations. Of course you can write a couple of JAVA classes performing the transformation, but if you are having a lazy day and you do not feel like writing java code you can simply download and install the Orangevolt XSLT plugin for eclipse. You can find everything you need at the URL <a href="http://eclipsexslt.sourceforge.net">http://eclipsexslt.sourceforge.net</a></p>
<p>With this plugin you will be able to perform XSLT transformations with Saxon and Xalan processors and using JAXP and Xerces to parse your XML files. The way I see it, this plugin should be simply used to test some XSLT transformation you are working on. A very big constraint of the plugin is that it does not permit you to perform a certain transformation on a number of documents. When configuring a launch configuration you will have be asked to define the source file and you will not be given the possibility to define a folder for that. If you are in a situation where you have to perform XSLT transformations on a number of file I would recommend you to write some java code simply using JAXP.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cervatz.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cervatz.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cervatz.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cervatz.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cervatz.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cervatz.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cervatz.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cervatz.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cervatz.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cervatz.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cervatz.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cervatz.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cervatz.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cervatz.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cervatz.wordpress.com&amp;blog=4141613&amp;post=16&amp;subd=cervatz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cervatz.wordpress.com/2009/06/21/orangevolt-xslt-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/af261a4418e290e4cccd3045d8f3af3e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cervatz</media:title>
		</media:content>
	</item>
		<item>
		<title>Dropbox</title>
		<link>http://cervatz.wordpress.com/2009/03/27/dropbox/</link>
		<comments>http://cervatz.wordpress.com/2009/03/27/dropbox/#comments</comments>
		<pubDate>Fri, 27 Mar 2009 15:18:28 +0000</pubDate>
		<dc:creator>cervatz</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://cervatz.wordpress.com/?p=10</guid>
		<description><![CDATA[Did you ever have the need to have some your files available everywhere? I think every programmer would like to store some files in a place where they are always reachable. Of course a possible option would be to simply bring with you a USB stick, but IT people like to make their life more [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cervatz.wordpress.com&amp;blog=4141613&amp;post=10&amp;subd=cervatz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Did you ever have the need to have some your files available everywhere? I think every programmer would like to store some files in a place where they are always reachable. Of course a possible option would be to simply bring with you a USB stick, but IT people like to make their life more complicated than necessary.</p>
<p>I just discovered a nice tool called <a href="https://www.getdropbox.com/">dropbox</a>. It requires to install a client on your machine and permits you to share a folder of your file system. When you drag and drop a file in this particular forlder this would be automatically stored on a remote server and shared with the other machines where you installed the dropbox client.</p>
<p>I installed it in the Ubuntu 8.10 machine I use at work and I will install it in my laptop with Windows Vista I used at home. I still do not know if it is very convenient, but I think the idea of having the possibility of synchronizing files among different machines simply dragging and dropping them is not bad. In order to have it running you must create an account and you will be given 2 gigs available for free, which is probably enough to share the files you cannot do without.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cervatz.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cervatz.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cervatz.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cervatz.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cervatz.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cervatz.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cervatz.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cervatz.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cervatz.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cervatz.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cervatz.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cervatz.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cervatz.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cervatz.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cervatz.wordpress.com&amp;blog=4141613&amp;post=10&amp;subd=cervatz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cervatz.wordpress.com/2009/03/27/dropbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/af261a4418e290e4cccd3045d8f3af3e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cervatz</media:title>
		</media:content>
	</item>
	</channel>
</rss>
