<?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>keyboardsamurais.de &#187; osgi</title>
	<atom:link href="http://keyboardsamurais.de/tag/osgi/feed/" rel="self" type="application/rss+xml" />
	<link>http://keyboardsamurais.de</link>
	<description>thoughts on software development, warts and all...</description>
	<lastBuildDate>Sun, 19 Jun 2011 12:36:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Spring 2.5 and the runtime paradigm shift</title>
		<link>http://keyboardsamurais.de/2007/11/22/spring-25-and-the-runtime-paradigm-shift/</link>
		<comments>http://keyboardsamurais.de/2007/11/22/spring-25-and-the-runtime-paradigm-shift/#comments</comments>
		<pubDate>Thu, 22 Nov 2007 01:32:09 +0000</pubDate>
		<dc:creator>Toni</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[osgi]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[spring]]></category>

		<guid isPermaLink="false">http://keyboardsamurais.de/2007/11/22/spring-25-and-the-runtime-paradigm-shift/</guid>
		<description><![CDATA[I just finished reading up on the new features of Spring 2.5 and I have to say I'm pretty excited. One thing that bothered me from the start of the Spring project has always been the need for xml wiring of components. No matter what you do in Spring land, you will have to create [...]]]></description>
			<content:encoded><![CDATA[<p>I just finished reading up on the new features of Spring 2.5 and I have to say I'm pretty excited. One thing that bothered me from the start of the Spring project has always been the need for xml wiring of components. No matter what you do in Spring land, you will have to create at least a minimal stub of xml in your config files to make your component known to Spring. And now, the freshly released 2.5 version of Spring is reaping the benefits of annotation driven development and completely does away with that. </p>
<p><span id="more-220"></span><br />
Sure, you can still wire your static beans if you want to, but much more excitingly you can use <a href="http://blog.interface21.com/main/2007/05/29/customizing-annotation-configuration-and-component-detection-in-spring-21/">component scanning </a>to look for beans at runtime. No fiddling with XML at all. </p>
<p>Mark Fisher does a very good job of explaining the full impact of this in <a href="http://www.infoq.com/articles/spring-2.5-part-1">his InfoQ article on Spring 2.5</a>. Also there is the much more comprehensive <a href="http://www.theserverside.com/tt/articles/content/IntrotoSpring25/article.html">Introduction to 2.5 by Rod Johnson on TSS.com</a>.</p>
<p>But what really caught my interest was Interface 21 CTO <a href="http://www.infoq.com/interviews/osgi-adrian-colyer">Adrian Colyer's elaboration</a> on Spring's investment into the <a href="http://www.osgi.org/">OSGi</a> spec. If you listen to him you suddenly realize why exactly the runtime wiring became necessary. The upcoming <a href="http://www.springframework.org/osgi">Spring OSGi API</a> takes the fact into account that Spring configuration at runtime is cool and all, but modularity gets ever more important. Coyler talks about all the interest the application server vendors have in OSGi and how big Web application projects may look like in the future.</p>
<p>In large applications we may see lots of dynamic service OSGi modules, wired together at runtime by Spring, that, as a whole, make up one or more applications. Spring takes into account that OSGi services may come and go at any given moment. Thus updating parts of the application (deploying a new service) instead of changing out a monolithic WAR file becomes a possibility. Exciting stuff. I will look into that some more.</p>
<p>Of course there is plenty of other cool stuff in 2.5, just check out the <a href="http://blog.interface21.com">SpringSource blog</a> or read the <a href="http://static.springframework.org/spring/docs/2.5.x/changelog.txt">Changelog</a>.</p>
 <p><a href="http://keyboardsamurais.de/?flattrss_redirect&amp;id=220&amp;md5=4740db9a37f0d5045d1b12aed41378a6" title="Flattr" target="_blank"><img src="http://keyboardsamurais.de/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://keyboardsamurais.de/2007/11/22/spring-25-and-the-runtime-paradigm-shift/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

