<?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: Guice Servlets Integration</title>
	<atom:link href="http://www.factorypattern.com/guice-servlets/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.factorypattern.com/guice-servlets/</link>
	<description>Just another Object Oriented Weblog</description>
	<lastBuildDate>Sat, 07 Jan 2012 02:36:06 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Chatchai</title>
		<link>http://www.factorypattern.com/guice-servlets/comment-page-1/#comment-107</link>
		<dc:creator>Chatchai</dc:creator>
		<pubDate>Mon, 26 Jan 2009 08:17:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.factorypattern.com/guice-servlets-integration/#comment-107</guid>
		<description>I am trying to find out whether there is any threading issue in using injectMember(). If the fields in the above MyServlet are not volatile then they may cause a concurrency problem. If the execution sequence is 1. web container create the servlet, 2. init() is called, 3. the reference to the servlet is published, then we are fine but if  3. happen before 2 then there are chances that thread executing service() method will not see the updated value of those fields.

This is based my quite limited knowledge on JMM  though. If you have any explaination/reference to clearify the problem, please share.</description>
		<content:encoded><![CDATA[<p>I am trying to find out whether there is any threading issue in using injectMember(). If the fields in the above MyServlet are not volatile then they may cause a concurrency problem. If the execution sequence is 1. web container create the servlet, 2. init() is called, 3. the reference to the servlet is published, then we are fine but if  3. happen before 2 then there are chances that thread executing service() method will not see the updated value of those fields.</p>
<p>This is based my quite limited knowledge on JMM  though. If you have any explaination/reference to clearify the problem, please share.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: martinj</title>
		<link>http://www.factorypattern.com/guice-servlets/comment-page-1/#comment-91</link>
		<dc:creator>martinj</dc:creator>
		<pubDate>Wed, 15 Oct 2008 09:08:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.factorypattern.com/guice-servlets-integration/#comment-91</guid>
		<description>Thanks, interesting. Btw, this is similar to how Spring manages the injection of Spring Beans into Servlets by using the ServletContextAttributeExporter.</description>
		<content:encoded><![CDATA[<p>Thanks, interesting. Btw, this is similar to how Spring manages the injection of Spring Beans into Servlets by using the ServletContextAttributeExporter.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: owen</title>
		<link>http://www.factorypattern.com/guice-servlets/comment-page-1/#comment-82</link>
		<dc:creator>owen</dc:creator>
		<pubDate>Fri, 26 Sep 2008 14:29:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.factorypattern.com/guice-servlets-integration/#comment-82</guid>
		<description>&quot;We can create an injector field and “inject” the injector into it when the servlet is initialized&quot;

WOW</description>
		<content:encoded><![CDATA[<p>&#8220;We can create an injector field and “inject” the injector into it when the servlet is initialized&#8221;</p>
<p>WOW</p>
]]></content:encoded>
	</item>
</channel>
</rss>

