<?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: Dependency injection to the rescue!</title>
	<atom:link href="http://tech.puredanger.com/index.php/2009/06/09/dependency-injection/feed/" rel="self" type="application/rss+xml" />
	<link>http://tech.puredanger.com/2009/06/09/dependency-injection/</link>
	<description>Alex Miller&#039;s technical blog</description>
	<lastBuildDate>Mon, 06 Feb 2012 19:39:50 -0800</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
	<item>
		<title>By: Cédrik</title>
		<link>http://tech.puredanger.com/2009/06/09/dependency-injection/comment-page-1/#comment-166534</link>
		<dc:creator>Cédrik</dc:creator>
		<pubDate>Tue, 16 Jun 2009 12:14:45 +0000</pubDate>
		<guid isPermaLink="false">http://tech.puredanger.com/2009/06/09/dependency-injection/#comment-166534</guid>
		<description>The Oracle comment is the only interesting one raising the JSR-250 existence. I don&#039;t want to choose between &lt;code&gt;@Resource&lt;/code&gt; and &lt;code&gt;@Inject&lt;/code&gt;!</description>
		<content:encoded><![CDATA[<p>The Oracle comment is the only interesting one raising the JSR-250 existence. I don&#8217;t want to choose between <code>@Resource</code> and <code>@Inject</code>!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://tech.puredanger.com/2009/06/09/dependency-injection/comment-page-1/#comment-165242</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Fri, 12 Jun 2009 14:54:45 +0000</pubDate>
		<guid isPermaLink="false">http://tech.puredanger.com/2009/06/09/dependency-injection/#comment-165242</guid>
		<description>299 vs. 330 is interesting ... and a little comical. The first time I heard of 299 was a little more than 2 years ago. That year at JavaOne, I attended a joint talk by Bob and Gavin. It was a disjoint talk to say the least. Gavin mostly exclaimed &quot;look at what we can do with your beans!&quot; while Bob more calmly talked about how DI could be done faster, simpler, and more type safe. Bob didn&#039;t say what he was comparing to, but it was obviously Spring. Two years later in this Java soap opera and Bob is teamed up with Spring... However, even two years ago not only were Bob and Gavin an odd couple, but Guice plus JSF or EJBs seemed like an even odder couple.</description>
		<content:encoded><![CDATA[<p>299 vs. 330 is interesting &#8230; and a little comical. The first time I heard of 299 was a little more than 2 years ago. That year at JavaOne, I attended a joint talk by Bob and Gavin. It was a disjoint talk to say the least. Gavin mostly exclaimed &#8220;look at what we can do with your beans!&#8221; while Bob more calmly talked about how DI could be done faster, simpler, and more type safe. Bob didn&#8217;t say what he was comparing to, but it was obviously Spring. Two years later in this Java soap opera and Bob is teamed up with Spring&#8230; However, even two years ago not only were Bob and Gavin an odd couple, but Guice plus JSF or EJBs seemed like an even odder couple.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://tech.puredanger.com/2009/06/09/dependency-injection/comment-page-1/#comment-165050</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Thu, 11 Jun 2009 15:38:41 +0000</pubDate>
		<guid isPermaLink="false">http://tech.puredanger.com/2009/06/09/dependency-injection/#comment-165050</guid>
		<description>@Scott: I don&#039;t pretend to be an expert on either jsr but I think there will be more detail and differences that come out as the expert group works on the spec.  While there is a lot of shared goals, I think the intended audience is different and that may mean different things.  JSR-330 commits to less with the goal of being open for more uses.

Talking to Bob Lee at lunch yesterday, the Red Hat comments are based on the original version of the proposal and things have evolved since then.  JSR-299 final draft has been submitted and Gavin had a lot of useful new comments &lt;a href=&quot;http://blog.hibernate.org/11777.lace&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt; including some on JSR 330:

&lt;blockquote&gt;
However, JSR-299 does not currently define a bootstrap API for starting and running the container standalone in the SE environment. Instead, this API is being defined by JSR-330. Unlike JSR-299, JSR-330 is not defining everything that is needed in order to write portable applications. So you&#039;ll still need JSR-299 if you want your application to be portable to other container implementations. Therefore, we plan a maintenance release of JSR-299 that includes support for the JSR-330 bootstrap API. For now, if you want to run JSR-299 in the SE environment, you&#039;ll need to use a vendor-specific bootstrap API. &lt;/blockquote&gt;</description>
		<content:encoded><![CDATA[<p>@Scott: I don&#8217;t pretend to be an expert on either jsr but I think there will be more detail and differences that come out as the expert group works on the spec.  While there is a lot of shared goals, I think the intended audience is different and that may mean different things.  JSR-330 commits to less with the goal of being open for more uses.</p>
<p>Talking to Bob Lee at lunch yesterday, the Red Hat comments are based on the original version of the proposal and things have evolved since then.  JSR-299 final draft has been submitted and Gavin had a lot of useful new comments <a href="http://blog.hibernate.org/11777.lace" rel="nofollow">here</a> including some on JSR 330:</p>
<blockquote><p>
However, JSR-299 does not currently define a bootstrap API for starting and running the container standalone in the SE environment. Instead, this API is being defined by JSR-330. Unlike JSR-299, JSR-330 is not defining everything that is needed in order to write portable applications. So you&#8217;ll still need JSR-299 if you want your application to be portable to other container implementations. Therefore, we plan a maintenance release of JSR-299 that includes support for the JSR-330 bootstrap API. For now, if you want to run JSR-299 in the SE environment, you&#8217;ll need to use a vendor-specific bootstrap API. </p></blockquote>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Ferguson</title>
		<link>http://tech.puredanger.com/2009/06/09/dependency-injection/comment-page-1/#comment-165045</link>
		<dc:creator>Scott Ferguson</dc:creator>
		<pubDate>Thu, 11 Jun 2009 14:33:34 +0000</pubDate>
		<guid isPermaLink="false">http://tech.puredanger.com/2009/06/09/dependency-injection/#comment-165045</guid>
		<description>If you look at the JSR-330 proposal, it&#039;s essentially a renaming of JSR-299 annotations.  So, really, this looks primarily like a complaint about class names, which seems rather petty to create a whole new JSR just to change some annotations.

@BindingType becomes @Qualifier.  @ScopeType becomes @Scope.  @ApplicationScoped becomes @Singleton.  Instance becomes Producer.

The only real difference is JSR-330&#039;s requirement of an explicit @Inject annotation, which I can see people disagreeing about, but again seems petty as a reason to start a whole JSR.</description>
		<content:encoded><![CDATA[<p>If you look at the JSR-330 proposal, it&#8217;s essentially a renaming of JSR-299 annotations.  So, really, this looks primarily like a complaint about class names, which seems rather petty to create a whole new JSR just to change some annotations.</p>
<p>@BindingType becomes @Qualifier.  @ScopeType becomes @Scope.  @ApplicationScoped becomes @Singleton.  Instance becomes Producer.</p>
<p>The only real difference is JSR-330&#8242;s requirement of an explicit @Inject annotation, which I can see people disagreeing about, but again seems petty as a reason to start a whole JSR.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jasper kong</title>
		<link>http://tech.puredanger.com/2009/06/09/dependency-injection/comment-page-1/#comment-165003</link>
		<dc:creator>Jasper kong</dc:creator>
		<pubDate>Thu, 11 Jun 2009 08:08:30 +0000</pubDate>
		<guid isPermaLink="false">http://tech.puredanger.com/2009/06/09/dependency-injection/#comment-165003</guid>
		<description>Isn&#039;t this just Rod desperately trying, again and again, to dethrone Sun (soon Oracle) as the leader of the Java EE platform by pushing his own platform and container and setting his own standard?

Does Rod persuades people to hate Java EE out of the goodness of his heart or is there a double agenda and does he simply wants to push his own alternative container?</description>
		<content:encoded><![CDATA[<p>Isn&#8217;t this just Rod desperately trying, again and again, to dethrone Sun (soon Oracle) as the leader of the Java EE platform by pushing his own platform and container and setting his own standard?</p>
<p>Does Rod persuades people to hate Java EE out of the goodness of his heart or is there a double agenda and does he simply wants to push his own alternative container?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

