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

<channel>
	<title>toniBlog &#187; spring</title>
	<atom:link href="http://www.the-arm.com/tag/spring/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.the-arm.com</link>
	<description>A weblog about Methodologies for Development</description>
	<lastBuildDate>Tue, 22 Jun 2010 08:01:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>Spring Facts</title>
		<link>http://www.the-arm.com/2009/04/spring-facts/</link>
		<comments>http://www.the-arm.com/2009/04/spring-facts/#comments</comments>
		<pubDate>Fri, 17 Apr 2009 15:06:45 +0000</pubDate>
		<dc:creator>toni</dc:creator>
				<category><![CDATA[work]]></category>
		<category><![CDATA[IOC]]></category>
		<category><![CDATA[OSGi]]></category>
		<category><![CDATA[rest]]></category>
		<category><![CDATA[spring]]></category>
		<category><![CDATA[Spring 3]]></category>

		<guid isPermaLink="false">http://www.the-arm.com/?p=384</guid>
		<description><![CDATA[Spring Java Configuration is the answer of Rod Johnson to all xml haters, with javaconfig you can configure the whole Spring IOC in pure Java Spring Autowiring with Annotations will lead you to a more readable and smaller xml configuration file Spring Transactions with Annotations will let you fine-grained configuration of your service layer transactionality [...]]]></description>
			<content:encoded><![CDATA[<ol>
<li><a href="http://www.springsource.org/javaconfig">Spring Java Configuration</a> is the answer of Rod Johnson to all xml haters, with javaconfig you can configure the whole Spring IOC in pure Java</li>
<li><a href="http://static.springframework.org/spring/docs/2.5.x/reference/beans.html#beans-autowired-annotation">Spring Autowiring with Annotations</a> will lead you to a more readable and smaller xml configuration file</li>
<li><a href="http://static.springframework.org/spring/docs/2.5.x/reference/transaction.html">Spring Transactions with Annotations</a> will let you fine-grained configuration of your service layer transactionality</li>
<li><a href="http://www.terracotta.org/confluence/display/devdocs/Terracotta+for+Spring+Architecture">Spring and Terracotta</a> play together very well, if you&#8217;re worried about HA/Clustering have a go</li>
<li><a href="http://blog.springsource.com/2009/03/08/rest-in-spring-3-mvc/">Spring and REST</a>: the version 3 of Spring will let you write RESTful service with just a couple of annotations</li>
<li><a href="http://static.springframework.org/spring/docs/2.5.x/reference/testing.html#testcontext-ctx-management">Spring Testability</a> is unbeaten: there&#8217;s nothing as easy to test as a POJO, in addition to that Spring offers autowiring and transaction managment inside the tests</li>
<li><a href="http://www.springsource.org/osgi">Spring OSGi</a>: assuming that OSGi is a good idea Spring is already there</li>
<li><a href="http://www.springsource.org/">Spring</a> is not a silver bullet but you&#8217;ll have to point me a gun in order to consider EJB3 as an alternative</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.the-arm.com/2009/04/spring-facts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spring &amp; Hessian, how cool!</title>
		<link>http://www.the-arm.com/2009/03/spring-hessian-how-cool/</link>
		<comments>http://www.the-arm.com/2009/03/spring-hessian-how-cool/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 13:36:38 +0000</pubDate>
		<dc:creator>toni</dc:creator>
				<category><![CDATA[work]]></category>
		<category><![CDATA[cool]]></category>
		<category><![CDATA[hessian]]></category>
		<category><![CDATA[spring]]></category>
		<category><![CDATA[webservices]]></category>

		<guid isPermaLink="false">http://www.the-arm.com/?p=365</guid>
		<description><![CDATA[I&#8217;ve tried today to expose some of our services in our application service layer. All those classes are simple POJOs, autowired with Spring. I&#8217;ve chosen Hessian for few reasons: I never liked xml, soap, etc&#8230; we need web services over http (so no RMI) it&#8217;s very fast we might need different type of clients connecting [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve tried today to expose some of our services in our application service layer.</p>
<p>All those classes are simple POJOs, autowired with Spring.</p>
<p>I&#8217;ve chosen <a href="http://hessian.caucho.com/">Hessian</a> for few reasons:</p>
<ul>
<li>I never liked xml, soap, etc&#8230;</li>
<li>we need web services over http (so no RMI)</li>
<li>it&#8217;s very fast</li>
<li>we might need different type of clients connecting to the application (Hessian apparently supports not only plain old Java but also JavaFX, Flex, almost every decent popular programming language)</li>
</ul>
<p>Well the modification to the code (I&#8217;ve changed a couple of xml files) took less than an hour.</p>
<p>You can find the instructions <a href="http://static.springframework.org/spring/docs/2.5.x/reference/remoting.html#remoting-caucho-protocols">here</a>, there&#8217;s nothing else I can add to that document, it just works.</p>
<p>Many people says that Java is death or will die soon but what Spring gives &#8220;to the masses&#8221; is still incredibly valuable and I found always very quick to implement a change in the code or make a big redesign of the codebase.</p>
<p>Lately I&#8217;ve been impressed by the <a href="http://wheelersoftware.com/articles/spring-autowiring-annotations.html">autowiring</a> features and the<a href="http://www.springsource.org/javaconfig"> java config</a> new stuff.</p>
<p>Have a look, java is perhaps struggling but still not death.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.the-arm.com/2009/03/spring-hessian-how-cool/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>What&#8217;s really agile?</title>
		<link>http://www.the-arm.com/2009/02/whats-really-agile/</link>
		<comments>http://www.the-arm.com/2009/02/whats-really-agile/#comments</comments>
		<pubDate>Mon, 02 Feb 2009 14:22:29 +0000</pubDate>
		<dc:creator>toni</dc:creator>
				<category><![CDATA[work]]></category>
		<category><![CDATA[activemq]]></category>
		<category><![CDATA[agile]]></category>
		<category><![CDATA[dao]]></category>
		<category><![CDATA[hibernate]]></category>
		<category><![CDATA[hudson]]></category>
		<category><![CDATA[maven]]></category>
		<category><![CDATA[servicemix]]></category>
		<category><![CDATA[spring]]></category>

		<guid isPermaLink="false">http://www.the-arm.com/?p=339</guid>
		<description><![CDATA[Today we ended a scrum sprint, two weeks long. In two weeks a team of five developers managed to setup a project using state of art tecnologies such as DRW, ActiveMQ, ServiceMix, Hibernate, Spring, Atomikos XA Transactions. Not only we have a use case up and running and we are able to show case it [...]]]></description>
			<content:encoded><![CDATA[<p>Today we ended a scrum sprint, two weeks long.</p>
<p>In two weeks a team of five developers managed to setup a project using state of art tecnologies such as <a href="http://directwebremoting.org/">DRW</a>, <a href="http://activemq.apache.org/">ActiveMQ</a>, <a href="http://servicemix.apache.org/home.html">ServiceMix</a>, Hibernate, Spring, <a href="http://www.atomikos.com/Main/ProductsOverview">Atomikos XA Transactions</a>.</p>
<p>Not only we have a use case up and running and we are able to show case it to the customer.</p>
<p>Now,  few choices in my opinion made this &#8220;more agile&#8221;.</p>
<p>- The usage of <a href="http://maven.apache.org/">Maven</a>, we have probably 50 dependencies, I can&#8217;t imagine how to handle this with ant.</p>
<p>- The usage of <a href="https://hudson.dev.java.net/">Hudson </a>as CI tool, simple UI, no need to read the manual</p>
<p>- The usage of <a href="http://www.springsource.org/">Spring</a>, in a couple of hours we had all we need (DAOs, JMS senders and receivers especially)</p>
<p>- The usage of <a href="http://www.hibernate.org/">Hibernate3 </a>with annotations, can&#8217;t be faster to write down your domain</p>
<p>- The usage of <a href="http://www.mortbay.org/jetty/">Jetty </a>to have a fast feedback locally</p>
<p>- Well, ovious maybe but worth mention, we wrote tests first, we used <a href="http://www.junit.org/">Junit4.5</a></p>
<p>- Flexible pair programming, we paired only when in trouble or when we felt the solution was mature enough to be showcased and shared in the team</p>
<p>- Focused work, one developer on the Web UI, one on the deployment, one on the ServiceMix/ActiveMQ, one on the Transactions + Design of the system</p>
<p>I call this agile, hard work and good fun.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.the-arm.com/2009/02/whats-really-agile/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
