<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Take a Cue From Queues</title>
	<atom:link href="http://exitcondition.alrubinger.com/2008/02/22/take-a-cue-from-queues/feed/" rel="self" type="application/rss+xml" />
	<link>http://exitcondition.alrubinger.com/2008/02/22/take-a-cue-from-queues/</link>
	<description>Andrew Lee Rubinger</description>
	<lastBuildDate>Thu, 03 Dec 2009 00:40:14 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: alrubinger</title>
		<link>http://exitcondition.alrubinger.com/2008/02/22/take-a-cue-from-queues/#comment-84</link>
		<dc:creator>alrubinger</dc:creator>
		<pubDate>Tue, 07 Jul 2009 17:01:35 +0000</pubDate>
		<guid isPermaLink="false">http://exitcondition.wordpress.com/?p=13#comment-84</guid>
		<description>@Joshua:

Or JBoss5, actually.  https://jira.jboss.org/jira/browse/EJBTHREE-1632  The workaround is to apply the configs manually atop each bean needed.

S,
ALR</description>
		<content:encoded><![CDATA[<p>@Joshua:</p>
<p>Or JBoss5, actually.  <a href="https://jira.jboss.org/jira/browse/EJBTHREE-1632" rel="nofollow">https://jira.jboss.org/jira/browse/EJBTHREE-1632</a>  The workaround is to apply the configs manually atop each bean needed.</p>
<p>S,<br />
ALR</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joshua Davis</title>
		<link>http://exitcondition.alrubinger.com/2008/02/22/take-a-cue-from-queues/#comment-83</link>
		<dc:creator>Joshua Davis</dc:creator>
		<pubDate>Tue, 07 Jul 2009 16:58:11 +0000</pubDate>
		<guid isPermaLink="false">http://exitcondition.wordpress.com/?p=13#comment-83</guid>
		<description>@PoolConfig and @CacheConfig work fine in JBoss 5.  Similarly @Pool works in JBoss4.

However, the XML based configuration where a new aop domain is applied to various EJBs in jboss.xml doesn&#039;t work in JBoss4.</description>
		<content:encoded><![CDATA[<p>@PoolConfig and @CacheConfig work fine in JBoss 5.  Similarly @Pool works in JBoss4.</p>
<p>However, the XML based configuration where a new aop domain is applied to various EJBs in jboss.xml doesn&#8217;t work in JBoss4.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alrubinger</title>
		<link>http://exitcondition.alrubinger.com/2008/02/22/take-a-cue-from-queues/#comment-54</link>
		<dc:creator>alrubinger</dc:creator>
		<pubDate>Fri, 28 Mar 2008 20:15:56 +0000</pubDate>
		<guid isPermaLink="false">http://exitcondition.wordpress.com/?p=13#comment-54</guid>
		<description>Ivan:

Configuration of the SLSB Pool or SFSB Cache is implementation-specific.  In JBoss, we use the @PoolConfig and @CacheConfig annotations (and XML equivalents in jboss.xml) to specify the backing impl and parameters.

Take a look at ejb3-interceptors-aop.xml for definitions of these annotations by default (when the developer has not added them explicitly).

S,
ALR</description>
		<content:encoded><![CDATA[<p>Ivan:</p>
<p>Configuration of the SLSB Pool or SFSB Cache is implementation-specific.  In JBoss, we use the @PoolConfig and @CacheConfig annotations (and XML equivalents in jboss.xml) to specify the backing impl and parameters.</p>
<p>Take a look at ejb3-interceptors-aop.xml for definitions of these annotations by default (when the developer has not added them explicitly).</p>
<p>S,<br />
ALR</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ivan</title>
		<link>http://exitcondition.alrubinger.com/2008/02/22/take-a-cue-from-queues/#comment-53</link>
		<dc:creator>Ivan</dc:creator>
		<pubDate>Wed, 26 Mar 2008 11:54:33 +0000</pubDate>
		<guid isPermaLink="false">http://exitcondition.wordpress.com/?p=13#comment-53</guid>
		<description>why, this feature is nice to have
could you please describe how to configure the pooling parameters for particular use cases?</description>
		<content:encoded><![CDATA[<p>why, this feature is nice to have<br />
could you please describe how to configure the pooling parameters for particular use cases?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alrubinger</title>
		<link>http://exitcondition.alrubinger.com/2008/02/22/take-a-cue-from-queues/#comment-23</link>
		<dc:creator>alrubinger</dc:creator>
		<pubDate>Mon, 25 Feb 2008 21:25:01 +0000</pubDate>
		<guid isPermaLink="false">http://exitcondition.wordpress.com/?p=13#comment-23</guid>
		<description>Martin:

Please read the concerns I&#039;m addressing through object pooling - not the overhead of instanciation, but gaining finer-grained control over how many Threads are pouring through your process at one time.

It&#039;s a reach to say &quot;most&quot; developers want @Singleton in EJB 3.1, inferring that this would somehow be a default strategy.  In many ways, this is analogous to JBoss&#039; @Service (which creates a Singleton JMX MBean), and I&#039;ve found it useful in many cases.  Take, for instance, a file transfer service which may send long byte arrays over the wire - I don&#039;t want too many requests executing through here at once, and I might throttle it by having an MDB dispatch to a Singleton resource.  I could alternatively specify an @Stateless to be backed by a Strict pool of low number, but this is implementation-specific.

Also note that with @Singleton comes a series of proposals to address method-level concurrency options, giving the developer even more flexibility within an easily-defined syntax.

S,
ALR</description>
		<content:encoded><![CDATA[<p>Martin:</p>
<p>Please read the concerns I&#8217;m addressing through object pooling &#8211; not the overhead of instanciation, but gaining finer-grained control over how many Threads are pouring through your process at one time.</p>
<p>It&#8217;s a reach to say &#8220;most&#8221; developers want @Singleton in EJB 3.1, inferring that this would somehow be a default strategy.  In many ways, this is analogous to JBoss&#8217; @Service (which creates a Singleton JMX MBean), and I&#8217;ve found it useful in many cases.  Take, for instance, a file transfer service which may send long byte arrays over the wire &#8211; I don&#8217;t want too many requests executing through here at once, and I might throttle it by having an MDB dispatch to a Singleton resource.  I could alternatively specify an @Stateless to be backed by a Strict pool of low number, but this is implementation-specific.</p>
<p>Also note that with @Singleton comes a series of proposals to address method-level concurrency options, giving the developer even more flexibility within an easily-defined syntax.</p>
<p>S,<br />
ALR</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Vanek</title>
		<link>http://exitcondition.alrubinger.com/2008/02/22/take-a-cue-from-queues/#comment-20</link>
		<dc:creator>Martin Vanek</dc:creator>
		<pubDate>Mon, 25 Feb 2008 11:55:07 +0000</pubDate>
		<guid isPermaLink="false">http://exitcondition.wordpress.com/?p=13#comment-20</guid>
		<description>Ahhh, this post reminds me my naivity 6 years ago. And it was ejb 2.0 times! Now in times of ejb 3.0 most of developers wants singleton (see ejb 3.1 proposals) instead of useless object pooling from needed in JVM 1.1 times, when object creation was really expensive. Now I&#039;d rather watch ejb camp amused from distance. It&#039;s not worth the effort</description>
		<content:encoded><![CDATA[<p>Ahhh, this post reminds me my naivity 6 years ago. And it was ejb 2.0 times! Now in times of ejb 3.0 most of developers wants singleton (see ejb 3.1 proposals) instead of useless object pooling from needed in JVM 1.1 times, when object creation was really expensive. Now I&#8217;d rather watch ejb camp amused from distance. It&#8217;s not worth the effort</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alrubinger</title>
		<link>http://exitcondition.alrubinger.com/2008/02/22/take-a-cue-from-queues/#comment-17</link>
		<dc:creator>alrubinger</dc:creator>
		<pubDate>Sun, 24 Feb 2008 17:27:02 +0000</pubDate>
		<guid isPermaLink="false">http://exitcondition.wordpress.com/?p=13#comment-17</guid>
		<description>crazyMike:

Yep, pooling (and in particular Thread pooling) has been a proven technique for years now.  My post, however, addresses *business object instance* pooling to limit the number of Threads used.  The EJB Core Spec in Section 4.7.11 defines that container implementations must not allow for re-entrant invocations; each instance must be serving at most one request (Thread) at any given time.  The side effect of this is a request queue once no instances are available.

And sure, this isn&#039;t specific to EJB - you can plug most any Enterprise feature into your existing infrastructure.  My goal is to illustrate point-by-point that there&#039;s no extraneous bloat in the specification, and that EJB provides the application developer with low-level utilities that are absolutely necessary.

S,
ALR</description>
		<content:encoded><![CDATA[<p>crazyMike:</p>
<p>Yep, pooling (and in particular Thread pooling) has been a proven technique for years now.  My post, however, addresses *business object instance* pooling to limit the number of Threads used.  The EJB Core Spec in Section 4.7.11 defines that container implementations must not allow for re-entrant invocations; each instance must be serving at most one request (Thread) at any given time.  The side effect of this is a request queue once no instances are available.</p>
<p>And sure, this isn&#8217;t specific to EJB &#8211; you can plug most any Enterprise feature into your existing infrastructure.  My goal is to illustrate point-by-point that there&#8217;s no extraneous bloat in the specification, and that EJB provides the application developer with low-level utilities that are absolutely necessary.</p>
<p>S,<br />
ALR</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: crazyMike</title>
		<link>http://exitcondition.alrubinger.com/2008/02/22/take-a-cue-from-queues/#comment-16</link>
		<dc:creator>crazyMike</dc:creator>
		<pubDate>Sun, 24 Feb 2008 15:44:52 +0000</pubDate>
		<guid isPermaLink="false">http://exitcondition.wordpress.com/?p=13#comment-16</guid>
		<description>Hi, all!

ALR, good point! But... Actually I&#039;am also a crazy ejb fan.. But..

This feature (thread pool) isn&#039;t a specific ejb feature.. Any middleware  solution has it i.e. Tomcat has thread pool for servlet calls. Also we can configure these for Spring remoting..

So, Your post it&#039;s a great explanation about thread pool execution architecture pattern, But it isn&#039;t a proof for ejb needs

crazyMike</description>
		<content:encoded><![CDATA[<p>Hi, all!</p>
<p>ALR, good point! But&#8230; Actually I&#8217;am also a crazy ejb fan.. But..</p>
<p>This feature (thread pool) isn&#8217;t a specific ejb feature.. Any middleware  solution has it i.e. Tomcat has thread pool for servlet calls. Also we can configure these for Spring remoting..</p>
<p>So, Your post it&#8217;s a great explanation about thread pool execution architecture pattern, But it isn&#8217;t a proof for ejb needs</p>
<p>crazyMike</p>
]]></content:encoded>
	</item>
</channel>
</rss>
