<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Spring Java Configuration Moving Ahead</title>
	<atom:link href="http://blog.springsource.com/2007/11/04/spring-java-configuration-moving-ahead/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.springsource.com/2007/11/04/spring-java-configuration-moving-ahead/</link>
	<description>The voice of SpringSource</description>
	<lastBuildDate>Sat, 20 Mar 2010 12:14:29 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: SpringSource Team Blog &#187; See you at SpringOne Europe!</title>
		<link>http://blog.springsource.com/2007/11/04/spring-java-configuration-moving-ahead/comment-page-1/#comment-154682</link>
		<dc:creator>SpringSource Team Blog &#187; See you at SpringOne Europe!</dc:creator>
		<pubDate>Tue, 24 Mar 2009 17:46:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2007/11/04/spring-java-configuration-moving-ahead/#comment-154682</guid>
		<description>[...] moving the core Spring Java Configuration model to the Spring Framework project: something I think is particularly exciting. Several SpringOne sessions will cover Spring 3.0 features, demonstrating important new features [...]</description>
		<content:encoded><![CDATA[<p>[...] moving the core Spring Java Configuration model to the Spring Framework project: something I think is particularly exciting. Several SpringOne sessions will cover Spring 3.0 features, demonstrating important new features [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SpringSource Team Blog &#187; Spring Dependency Injection &#38; Java 5 (including slides and code)</title>
		<link>http://blog.springsource.com/2007/11/04/spring-java-configuration-moving-ahead/comment-page-1/#comment-100937</link>
		<dc:creator>SpringSource Team Blog &#187; Spring Dependency Injection &#38; Java 5 (including slides and code)</dc:creator>
		<pubDate>Tue, 18 Mar 2008 16:16:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2007/11/04/spring-java-configuration-moving-ahead/#comment-100937</guid>
		<description>[...] Spring Java Configuration Moving Ahead by Rod Johnson [...]</description>
		<content:encoded><![CDATA[<p>[...] Spring Java Configuration Moving Ahead by Rod Johnson [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joris Kuipers</title>
		<link>http://blog.springsource.com/2007/11/04/spring-java-configuration-moving-ahead/comment-page-1/#comment-77150</link>
		<dc:creator>Joris Kuipers</dc:creator>
		<pubDate>Sat, 08 Dec 2007 12:17:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2007/11/04/spring-java-configuration-moving-ahead/#comment-77150</guid>
		<description>[quote comment=&quot;61370&quot;]What I would like to see is support for &#039;environment dependent&#039; properties. We like to keep all our properties in a single property file (we don&#039;t want to make separate wars/ears for different environments), with property values for the different environments the application is deployed to (e.g. development, testing, staging, production).[/quote]
One way to do this with JavaConfig is to create a common configuration class and subclasses per environment. Then determine the subclass to use at startup based on your system property. I&#039;ve implemented this exact solution for a talk I gave at SpringOne this year; have a look at the code here: http://blog.interface21.com/main/2007/06/25/code-samples-from-springone-beyond-the-obvious-talk/</description>
		<content:encoded><![CDATA[<p>[quote comment="61370"]What I would like to see is support for &#039;environment dependent&#039; properties. We like to keep all our properties in a single property file (we don&#039;t want to make separate wars/ears for different environments), with property values for the different environments the application is deployed to (e.g. development, testing, staging, production).[/quote]<br />
One way to do this with JavaConfig is to create a common configuration class and subclasses per environment. Then determine the subclass to use at startup based on your system property. I&#039;ve implemented this exact solution for a talk I gave at SpringOne this year; have a look at the code here: <a href="http://blog.interface21.com/main/2007/06/25/code-samples-from-springone-beyond-the-obvious-talk/" rel="nofollow">http://blog.interface21.com/main/2007/06/25/code-samples-from-springone-beyond-the-obvious-talk/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rick Hightower</title>
		<link>http://blog.springsource.com/2007/11/04/spring-java-configuration-moving-ahead/comment-page-1/#comment-65360</link>
		<dc:creator>Rick Hightower</dc:creator>
		<pubDate>Thu, 15 Nov 2007 00:19:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2007/11/04/spring-java-configuration-moving-ahead/#comment-65360</guid>
		<description>I don&#039;t think it needs more features to go 1.0. I like the set it ships with now. Let this set be 1.0.

The sooner it goes 1.0 the better. :o)</description>
		<content:encoded><![CDATA[<p>I don&#039;t think it needs more features to go 1.0. I like the set it ships with now. Let this set be 1.0.</p>
<p>The sooner it goes 1.0 the better. <img src='http://blog.springsource.com/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: It&#8217;s Only Software &#187; Spring 2.5 RC2 out, Includes new Spring MVC Tutorial</title>
		<link>http://blog.springsource.com/2007/11/04/spring-java-configuration-moving-ahead/comment-page-1/#comment-65014</link>
		<dc:creator>It&#8217;s Only Software &#187; Spring 2.5 RC2 out, Includes new Spring MVC Tutorial</dc:creator>
		<pubDate>Wed, 14 Nov 2007 12:41:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2007/11/04/spring-java-configuration-moving-ahead/#comment-65014</guid>
		<description>[...] The tutorial seems to have been written without consideration for the new annotation-based configuration introduced in Spring 2.5 - indeed, there&#8217;s nary a mention of annotations (except for the ubiquitous @Override) in the entire document. I&#8217;m not sure why this is, considering that claims of easier annotation-based configuration have been common in Spring 2.5 announcements and even on the Interface21 blog. [...]</description>
		<content:encoded><![CDATA[<p>[...] The tutorial seems to have been written without consideration for the new annotation-based configuration introduced in Spring 2.5 &#8211; indeed, there&#039;s nary a mention of annotations (except for the ubiquitous @Override) in the entire document. I&#039;m not sure why this is, considering that claims of easier annotation-based configuration have been common in Spring 2.5 announcements and even on the Interface21 blog. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Barbarian &#187; Spring Java Configuration Moving Ahead</title>
		<link>http://blog.springsource.com/2007/11/04/spring-java-configuration-moving-ahead/comment-page-1/#comment-63727</link>
		<dc:creator>Barbarian &#187; Spring Java Configuration Moving Ahead</dc:creator>
		<pubDate>Mon, 12 Nov 2007 08:29:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2007/11/04/spring-java-configuration-moving-ahead/#comment-63727</guid>
		<description>[...] Career College News wrote an interesting post today onHere&#8217;s a quick excerptRod Johnson. Several users have asked whether we are committed to Spring Java Configuration, and how it sits with the annotation configuration option introduced in Spring 2.5. The answer is yes, we are committed to Java Config; &#8230; [...]</description>
		<content:encoded><![CDATA[<p>[...] Career College News wrote an interesting post today onHere&#039;s a quick excerptRod Johnson. Several users have asked whether we are committed to Spring Java Configuration, and how it sits with the annotation configuration option introduced in Spring 2.5. The answer is yes, we are committed to Java Config; &#8230; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Solomon</title>
		<link>http://blog.springsource.com/2007/11/04/spring-java-configuration-moving-ahead/comment-page-1/#comment-61638</link>
		<dc:creator>Solomon</dc:creator>
		<pubDate>Thu, 08 Nov 2007 15:55:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2007/11/04/spring-java-configuration-moving-ahead/#comment-61638</guid>
		<description>Congrats to both Interface21 and Chris Beams.  

I look at JavaConfig and annotation configuration as a 1-2 punch combination.  Not only do I think that &quot;there is even no reason that both couldn&#039;t be used in the same application,&quot; but I think that there is every reason to use both of them in the same application.  

The &quot;simpler&quot; annotation configuration approach takes less work to implement, but simply isn&#039;t as powerful as the JavaConfig approach for a variety of reasons.  The JavaConfig approach is a logical extension point for an annotation configured application, much more so than the vastly different &quot;traditional&quot; XML approach.  Such an approach would be similar in nature to Guice&#039;s annotation/provider combination.

Explaining where annotation configuration can be used and where JavaConfig is required would go a long way in helping both technologies.  

Using common annotations would also be a valuable addition.  @Component/@Service/@Repository/@Controller are roughly equivalent to @Bean.  @ExternalBean/@ExternalValue are roughly equivalent to @Qualifier and custom Qualifiers.

I think that the ResourceBundle lookup and the @ExternalValue setting of values is a great addition.  It can and should be used in the annotations configuration approach as well.

Overall, I would think that Mark Fisher and Chris Beams should have a long talk about a unified approach to Spring Annotations.</description>
		<content:encoded><![CDATA[<p>Congrats to both Interface21 and Chris Beams.  </p>
<p>I look at JavaConfig and annotation configuration as a 1-2 punch combination.  Not only do I think that &#034;there is even no reason that both couldn&#039;t be used in the same application,&#034; but I think that there is every reason to use both of them in the same application.  </p>
<p>The &#034;simpler&#034; annotation configuration approach takes less work to implement, but simply isn&#039;t as powerful as the JavaConfig approach for a variety of reasons.  The JavaConfig approach is a logical extension point for an annotation configured application, much more so than the vastly different &#034;traditional&#034; XML approach.  Such an approach would be similar in nature to Guice&#039;s annotation/provider combination.</p>
<p>Explaining where annotation configuration can be used and where JavaConfig is required would go a long way in helping both technologies.  </p>
<p>Using common annotations would also be a valuable addition.  @Component/@Service/@Repository/@Controller are roughly equivalent to @Bean.  @ExternalBean/@ExternalValue are roughly equivalent to @Qualifier and custom Qualifiers.</p>
<p>I think that the ResourceBundle lookup and the @ExternalValue setting of values is a great addition.  It can and should be used in the annotations configuration approach as well.</p>
<p>Overall, I would think that Mark Fisher and Chris Beams should have a long talk about a unified approach to Spring Annotations.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Pijpops</title>
		<link>http://blog.springsource.com/2007/11/04/spring-java-configuration-moving-ahead/comment-page-1/#comment-61370</link>
		<dc:creator>Tim Pijpops</dc:creator>
		<pubDate>Wed, 07 Nov 2007 23:24:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2007/11/04/spring-java-configuration-moving-ahead/#comment-61370</guid>
		<description>Hello Rod,

What I would like to see is support for &#039;environment dependent&#039; properties. We like to keep all our properties in a single property file (we don&#039;t want to make separate wars/ears for different environments), with property values for the different environments the application is deployed to (e.g. development, testing, staging, production).

Currently we have implemented this with a custom subclass of java.util.Properties for the Propertyplaceholderconfigurer in Spring&#039;s XML config. This means that we can use property files like this:

name=John Doe
name{dev}=Mike Keets
name{test}=An Meyers
age=45
busy=false

If no environment is specified, &#039;John Doe&#039; is used as the name value. However, if an enviroment &#039;dev&#039; is specified (as a system property, e.g. -Denv=dev) the value &#039;Mike Keets&#039; is used.

Especially for the configuration of resources (database properties, transaction managers, messaging queues) this is a handy feature since we use a lightweight (Tomcat) server for development and a heavier weight (commercial) one for production.

Best regards,
Tim</description>
		<content:encoded><![CDATA[<p>Hello Rod,</p>
<p>What I would like to see is support for &#039;environment dependent&#039; properties. We like to keep all our properties in a single property file (we don&#039;t want to make separate wars/ears for different environments), with property values for the different environments the application is deployed to (e.g. development, testing, staging, production).</p>
<p>Currently we have implemented this with a custom subclass of java.util.Properties for the Propertyplaceholderconfigurer in Spring&#039;s XML config. This means that we can use property files like this:</p>
<p>name=John Doe<br />
name{dev}=Mike Keets<br />
name{test}=An Meyers<br />
age=45<br />
busy=false</p>
<p>If no environment is specified, &#039;John Doe&#039; is used as the name value. However, if an enviroment &#039;dev&#039; is specified (as a system property, e.g. -Denv=dev) the value &#039;Mike Keets&#039; is used.</p>
<p>Especially for the configuration of resources (database properties, transaction managers, messaging queues) this is a handy feature since we use a lightweight (Tomcat) server for development and a heavier weight (commercial) one for production.</p>
<p>Best regards,<br />
Tim</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: simply24 &#187; Blog Archive &#187; Spring Java Configuration Moving Ahead</title>
		<link>http://blog.springsource.com/2007/11/04/spring-java-configuration-moving-ahead/comment-page-1/#comment-61108</link>
		<dc:creator>simply24 &#187; Blog Archive &#187; Spring Java Configuration Moving Ahead</dc:creator>
		<pubDate>Wed, 07 Nov 2007 07:23:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2007/11/04/spring-java-configuration-moving-ahead/#comment-61108</guid>
		<description>[...] more here [...]</description>
		<content:encoded><![CDATA[<p>[...] more here [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: software configuration management &#187; Spring Java Configuration Moving Ahead</title>
		<link>http://blog.springsource.com/2007/11/04/spring-java-configuration-moving-ahead/comment-page-1/#comment-60844</link>
		<dc:creator>software configuration management &#187; Spring Java Configuration Moving Ahead</dc:creator>
		<pubDate>Tue, 06 Nov 2007 12:15:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2007/11/04/spring-java-configuration-moving-ahead/#comment-60844</guid>
		<description>[...] vivek wrote an interesting post today onHere&#8217;s a quick excerptSeveral users have asked whether we are committed to Spring Java Configuration, and how it sits with the annotation configuration option introduced in Spring 2.5. The answer is yes, we are committed to Java Config; and these two &#8230; [...]</description>
		<content:encoded><![CDATA[<p>[...] vivek wrote an interesting post today onHere&#039;s a quick excerptSeveral users have asked whether we are committed to Spring Java Configuration, and how it sits with the annotation configuration option introduced in Spring 2.5. The answer is yes, we are committed to Java Config; and these two &#8230; [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
