<?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:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Programming and So</title>
	<atom:link href="http://angelborroy.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://angelborroy.wordpress.com</link>
	<description>Tips and tricks in Java</description>
	<lastBuildDate>Tue, 10 Nov 2009 07:36:30 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='angelborroy.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/81e467b36e264d59cedfdb4bd4d17e55?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Programming and So</title>
		<link>http://angelborroy.wordpress.com</link>
	</image>
			<item>
		<title>Spring Batch 2.0: Repeat a tasklet</title>
		<link>http://angelborroy.wordpress.com/2009/05/21/spring-batch-2-0-repeat-a-tasklet/</link>
		<comments>http://angelborroy.wordpress.com/2009/05/21/spring-batch-2-0-repeat-a-tasklet/#comments</comments>
		<pubDate>Thu, 21 May 2009 11:17:23 +0000</pubDate>
		<dc:creator>angelborroy</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[spring batch]]></category>

		<guid isPermaLink="false">http://angelborroy.wordpress.com/?p=273</guid>
		<description><![CDATA[In some scenarios, such as downloading by FTP the same file from different servers, following tasklet repeat pattern can be useful.
Job definition

&#60; ?xml version=&#34;1.0&#34; encoding=&#34;UTF-8&#34;?&#62;
&#60;beans xmlns=&#34;http://www.springframework.org/schema/beans&#34;
  xmlns:xsi=&#34;http://www.w3.org/2001/XMLSchema-instance&#34;
  xmlns:batch=&#34;http://www.springframework.org/schema/batch&#34;
  xmlns:aop=&#34;http://www.springframework.org/schema/aop&#34;
  xsi:schemaLocation=&#34;http://www.springframework.org/schema/aop
    http://www.springframework.org/schema/aop/spring-aop.xsd
    http://www.springframework.org/schema/batch
    http://www.springframework.org/schema/batch/spring-batch-2.0.xsd
    http://www.springframework.org/schema/beans
    http://www.springframework.org/schema/beans/spring-beans.xsd&#34;&#62;

  [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=angelborroy.wordpress.com&blog=4346871&post=273&subd=angelborroy&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://angelborroy.wordpress.com/2009/05/21/spring-batch-2-0-repeat-a-tasklet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">angelborroy</media:title>
		</media:content>
	</item>
		<item>
		<title>Spring Batch 2.0: Retry a tasklet</title>
		<link>http://angelborroy.wordpress.com/2009/05/20/spring-batch-2-0-retry-a-tasklet/</link>
		<comments>http://angelborroy.wordpress.com/2009/05/20/spring-batch-2-0-retry-a-tasklet/#comments</comments>
		<pubDate>Wed, 20 May 2009 09:04:26 +0000</pubDate>
		<dc:creator>angelborroy</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[spring batch]]></category>

		<guid isPermaLink="false">http://angelborroy.wordpress.com/?p=263</guid>
		<description><![CDATA[Retry strategies in Spring Batch 2.0 allow chunk reprocessing under several fails. However, there is no core support to Tasklet steps retry and so, AOP techniques must be used.
Below both retry patterns (chunk and tasklet) are exposed.
Chunk retry: retry three times if some exception occurs on &#8220;chunk&#8221; execution

&#60;step id=&#34;step&#34;&#62;
    &#60;tasklet&#62;
    [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=angelborroy.wordpress.com&blog=4346871&post=263&subd=angelborroy&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://angelborroy.wordpress.com/2009/05/20/spring-batch-2-0-retry-a-tasklet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">angelborroy</media:title>
		</media:content>
	</item>
		<item>
		<title>Spring Batch 2.0: Current Resource of a MultiResourceItemReader</title>
		<link>http://angelborroy.wordpress.com/2009/05/15/spring-batch-2-0-current-resource-of-a-multiresourceitemreader/</link>
		<comments>http://angelborroy.wordpress.com/2009/05/15/spring-batch-2-0-current-resource-of-a-multiresourceitemreader/#comments</comments>
		<pubDate>Fri, 15 May 2009 11:13:15 +0000</pubDate>
		<dc:creator>angelborroy</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[spring batch]]></category>

		<guid isPermaLink="false">http://angelborroy.wordpress.com/?p=249</guid>
		<description><![CDATA[[UPDATE. This feature is available on Spring Batch 2.0.1. Thanks for your interest, Dan. So, following code it's just only an exercise on reflection and dirty access to private methods and fields]
MultiResourceItemReader class reads items from multiple resources sequentially.
Below a classic job configuration using this feature is exposed.

&#60; ?xml version=&#34;1.0&#34; encoding=&#34;UTF-8&#34;?&#62;
&#60;beans xmlns=&#34;http://www.springframework.org/schema/beans&#34;
  xmlns:xsi=&#34;http://www.w3.org/2001/XMLSchema-instance&#34;
  [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=angelborroy.wordpress.com&blog=4346871&post=249&subd=angelborroy&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://angelborroy.wordpress.com/2009/05/15/spring-batch-2-0-current-resource-of-a-multiresourceitemreader/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">angelborroy</media:title>
		</media:content>
	</item>
		<item>
		<title>A short introduction to Spring Batch 2.0</title>
		<link>http://angelborroy.wordpress.com/2009/05/11/a-short-introduction-to-spring-batch-2-0/</link>
		<comments>http://angelborroy.wordpress.com/2009/05/11/a-short-introduction-to-spring-batch-2-0/#comments</comments>
		<pubDate>Mon, 11 May 2009 06:52:51 +0000</pubDate>
		<dc:creator>angelborroy</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[spring batch]]></category>

		<guid isPermaLink="false">http://angelborroy.wordpress.com/?p=245</guid>
		<description><![CDATA[Spring Batch provides a framework in order to develop batch processes in Java. Recently version 2.0 has been released. However it&#8217;s still hard to find good samples and resources in the web, so old-fashioned development (based on RTFM) must be performed.
The main idea is to build Jobs from sequential steps. Each step can be a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=angelborroy.wordpress.com&blog=4346871&post=245&subd=angelborroy&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://angelborroy.wordpress.com/2009/05/11/a-short-introduction-to-spring-batch-2-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">angelborroy</media:title>
		</media:content>
	</item>
		<item>
		<title>Oracle JDBC Driver and Spring 2.0.X Timestamp issue</title>
		<link>http://angelborroy.wordpress.com/2009/04/30/oracle-jdbc-driver-and-spring-20x-timestamp-issue/</link>
		<comments>http://angelborroy.wordpress.com/2009/04/30/oracle-jdbc-driver-and-spring-20x-timestamp-issue/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 12:33:05 +0000</pubDate>
		<dc:creator>angelborroy</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[jdbc]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[spring]]></category>

		<guid isPermaLink="false">http://angelborroy.wordpress.com/?p=242</guid>
		<description><![CDATA[Oracle JDBC Driver (ojdbc14.jar)
Spring Framework 2.0

import org.springframework.jdbc.support.rowset.SqlRowSet;

public class QueryDAO extends JdbcDaoSupport {

    public SqlRowSet loadSqlRowSet(String sSQL) {
        return getJdbcTemplate().queryForRowSet(sSQL);
    }

}

Using Spring JDBC in such way Timestamp fields are recovered without time information (hours, minutes and seconds set to 0). It seems some [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=angelborroy.wordpress.com&blog=4346871&post=242&subd=angelborroy&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://angelborroy.wordpress.com/2009/04/30/oracle-jdbc-driver-and-spring-20x-timestamp-issue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">angelborroy</media:title>
		</media:content>
	</item>
		<item>
		<title>Spring WS 1.0 using Castor 1.1.1 marshalling (force UTF-8 encoding)</title>
		<link>http://angelborroy.wordpress.com/2009/04/21/spring-ws-10-using-castor-111-marshalling-force-utf-8-encoding/</link>
		<comments>http://angelborroy.wordpress.com/2009/04/21/spring-ws-10-using-castor-111-marshalling-force-utf-8-encoding/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 13:34:35 +0000</pubDate>
		<dc:creator>angelborroy</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[castor]]></category>
		<category><![CDATA[spring ws]]></category>

		<guid isPermaLink="false">http://angelborroy.wordpress.com/?p=239</guid>
		<description><![CDATA[While XMLBeans performs marshalling operations using UTF-8 encoding by default, Castor XML relies on implicit Stream encoding. So, it&#8217;s mandatory to set UTF-8 encoding when using Castor marshalling on a Web Services client.
Below a Spring WS web service client sample using XWSS 3.0 is exposed. Spring&#8217;s application context (applicationContext.xml) and XWSS security policy file (wss-client-config.xml) [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=angelborroy.wordpress.com&blog=4346871&post=239&subd=angelborroy&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://angelborroy.wordpress.com/2009/04/21/spring-ws-10-using-castor-111-marshalling-force-utf-8-encoding/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">angelborroy</media:title>
		</media:content>
	</item>
		<item>
		<title>Upload file to Microsoft Office Sharepoint Server 2007</title>
		<link>http://angelborroy.wordpress.com/2009/04/08/upload-file-to-microsoft-office-sharepoint-server-2007/</link>
		<comments>http://angelborroy.wordpress.com/2009/04/08/upload-file-to-microsoft-office-sharepoint-server-2007/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 09:41:58 +0000</pubDate>
		<dc:creator>angelborroy</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[sharepoint]]></category>
		<category><![CDATA[spring ws]]></category>
		<category><![CDATA[web services]]></category>
		<category><![CDATA[webdav]]></category>

		<guid isPermaLink="false">http://angelborroy.wordpress.com/?p=233</guid>
		<description><![CDATA[Microsoft Office Sharepoint Server 2007 (aka MOSS2007) provides a web services catalog in order to perform a large collection of operations on it. Morever, if enabled, WebDAV access is available.
The obvious way to upload a file to MOSS Shared Documents is the use of WebDAV protocol, however Microsoft includes a web service to perform this [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=angelborroy.wordpress.com&blog=4346871&post=233&subd=angelborroy&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://angelborroy.wordpress.com/2009/04/08/upload-file-to-microsoft-office-sharepoint-server-2007/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">angelborroy</media:title>
		</media:content>
	</item>
		<item>
		<title>WebSphere 6.1 web service client using SSL</title>
		<link>http://angelborroy.wordpress.com/2009/04/02/websphere-61-web-service-client-using-ssl/</link>
		<comments>http://angelborroy.wordpress.com/2009/04/02/websphere-61-web-service-client-using-ssl/#comments</comments>
		<pubDate>Thu, 02 Apr 2009 18:44:24 +0000</pubDate>
		<dc:creator>angelborroy</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[web services]]></category>
		<category><![CDATA[websphere]]></category>

		<guid isPermaLink="false">http://angelborroy.wordpress.com/?p=231</guid>
		<description><![CDATA[It&#8217;s hard to develop web services using native WebSphere 6.1 support without the aid of IBM developing tools such as Application Server Toolkit or Rational Application Developer. Even it&#8217;s hard to find, download and install these tools.
IBM provides a bunch of detailed information and manuals on every product, but this fact does not guarantee sometimes [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=angelborroy.wordpress.com&blog=4346871&post=231&subd=angelborroy&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://angelborroy.wordpress.com/2009/04/02/websphere-61-web-service-client-using-ssl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">angelborroy</media:title>
		</media:content>
	</item>
		<item>
		<title>Reading and writing fixed length records with Castor XML</title>
		<link>http://angelborroy.wordpress.com/2009/03/31/reading-and-writing-fixed-length-records-with-castor-xml/</link>
		<comments>http://angelborroy.wordpress.com/2009/03/31/reading-and-writing-fixed-length-records-with-castor-xml/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 10:41:05 +0000</pubDate>
		<dc:creator>angelborroy</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[castor]]></category>

		<guid isPermaLink="false">http://angelborroy.wordpress.com/?p=224</guid>
		<description><![CDATA[I&#8217;ve been searching a generic Java tool in order to read and write fixed length records files with no success.
Traditionally, mainframe systems produce plain text files filled with fixed length records. Number records are filled with zeroes at the left (p.e. the fixed Number5 value 100 should be 00100) and String records are completed with blank spaces (p.e. the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=angelborroy.wordpress.com&blog=4346871&post=224&subd=angelborroy&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://angelborroy.wordpress.com/2009/03/31/reading-and-writing-fixed-length-records-with-castor-xml/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">angelborroy</media:title>
		</media:content>
	</item>
		<item>
		<title>ThreadLocal considerations. Use in WebSphere 6 and Weblogic 10.</title>
		<link>http://angelborroy.wordpress.com/2009/03/19/threadlocal-considerations-use-in-websphere-6-and-weblogic-10/</link>
		<comments>http://angelborroy.wordpress.com/2009/03/19/threadlocal-considerations-use-in-websphere-6-and-weblogic-10/#comments</comments>
		<pubDate>Thu, 19 Mar 2009 09:36:15 +0000</pubDate>
		<dc:creator>angelborroy</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[weblogic]]></category>
		<category><![CDATA[websphere]]></category>

		<guid isPermaLink="false">http://angelborroy.wordpress.com/?p=222</guid>
		<description><![CDATA[ThreadLocal class enables the sharing of a variable in a statically way across a whole Java process by attaching this variable to a single Thread (p.e. Thread.currentThread()). This is specially useful to make accesible values recovered in filter layer to the other ones.
Think about database logging of HTTP requests or responses. Note that this is the unique [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=angelborroy.wordpress.com&blog=4346871&post=222&subd=angelborroy&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://angelborroy.wordpress.com/2009/03/19/threadlocal-considerations-use-in-websphere-6-and-weblogic-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">angelborroy</media:title>
		</media:content>
	</item>
	</channel>
</rss>