<?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"
	>
<channel>
	<title>Comments on: Validating the State of Spring Beans</title>
	<atom:link href="http://james.shade.org/blog/2006/09/10/validating-the-state-of-spring-beans/feed/" rel="self" type="application/rss+xml" />
	<link>http://james.shade.org/blog/2006/09/10/validating-the-state-of-spring-beans/</link>
	<description>Programming and other things</description>
	<pubDate>Wed, 19 Nov 2008 11:38:40 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: Darren</title>
		<link>http://james.shade.org/blog/2006/09/10/validating-the-state-of-spring-beans/#comment-293</link>
		<dc:creator>Darren</dc:creator>
		<pubDate>Sun, 10 Sep 2006 12:08:05 +0000</pubDate>
		<guid isPermaLink="false">http://james.shade.org/blog/2006/09/10/validating-bean-state-in-spring/#comment-293</guid>
		<description>I was going to pick you up on the "no asserts in public methods" thing until I read your whole entry. :-)

I wonder if it would be possible to have some sort of external validation tool that took your spring configs and your source code, and told you if all required setters were being set.
The annotations stuff in Java 1.5 seems to be tailor-made for this.
You could even (in theory) make this validation step part of your Servlet startup - a one off check that all is valid and you're away.</description>
		<content:encoded><![CDATA[<p>I was going to pick you up on the &#8220;no asserts in public methods&#8221; thing until I read your whole entry. <img src='http://james.shade.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>I wonder if it would be possible to have some sort of external validation tool that took your spring configs and your source code, and told you if all required setters were being set.<br />
The annotations stuff in Java 1.5 seems to be tailor-made for this.<br />
You could even (in theory) make this validation step part of your Servlet startup - a one off check that all is valid and you&#8217;re away.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
