<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: How To Implement a Distributed CommonJ WorkManager</title>
	<link>http://jonasboner.com/2006/09/14/how-to-implement-a-distributed-commonj-workmanager/</link>
	<description>Down To The Bone</description>
	<pubDate>Sun, 12 Oct 2008 14:56:24 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.2</generator>

	<item>
		<title>by: Kai Zhang</title>
		<link>http://jonasboner.com/2006/09/14/how-to-implement-a-distributed-commonj-workmanager/#comment-45549</link>
		<pubDate>Wed, 16 Jul 2008 20:08:39 +0000</pubDate>
		<guid>http://jonasboner.com/2006/09/14/how-to-implement-a-distributed-commonj-workmanager/#comment-45549</guid>
					<description>&lt;p&gt;Can you give me a description about WorkManager.INDEFINITE? &lt;/p&gt;

&lt;p&gt;Because even if I set Work class to return false for isDaemon(), the worker thread continue to run after the WorkManager returns from the waitForAll method.&lt;/p&gt;

&lt;p&gt;So, that means when set to WorkManager.INDEFINITE, the JVM will start spawning a lot of threads that may not be reaped.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Can you give me a description about WorkManager.INDEFINITE? </p>

<p>Because even if I set Work class to return false for isDaemon(), the worker thread continue to run after the WorkManager returns from the waitForAll method.</p>

<p>So, that means when set to WorkManager.INDEFINITE, the JVM will start spawning a lot of threads that may not be reaped.</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: john</title>
		<link>http://jonasboner.com/2006/09/14/how-to-implement-a-distributed-commonj-workmanager/#comment-14745</link>
		<pubDate>Wed, 03 Oct 2007 10:38:54 +0000</pubDate>
		<guid>http://jonasboner.com/2006/09/14/how-to-implement-a-distributed-commonj-workmanager/#comment-14745</guid>
					<description>&lt;p&gt;sure, sorry, was trying the code sample late in the evening ;-)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>sure, sorry, was trying the code sample late in the evening <img src='http://jonasboner.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Jonas</title>
		<link>http://jonasboner.com/2006/09/14/how-to-implement-a-distributed-commonj-workmanager/#comment-14738</link>
		<pubDate>Tue, 02 Oct 2007 19:57:16 +0000</pubDate>
		<guid>http://jonasboner.com/2006/09/14/how-to-implement-a-distributed-commonj-workmanager/#comment-14738</guid>
					<description>&lt;p&gt;Hi John.&lt;/p&gt;

&lt;p&gt;The idea is to start up the Worker and the WorkManager not only in different threads but on different nodes (JVMs) - in order to get it to scale out distributed.&lt;/p&gt;

&lt;p&gt;Makes sense?&lt;/p&gt;

&lt;p&gt;/Jonas&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi John.</p>

<p>The idea is to start up the Worker and the WorkManager not only in different threads but on different nodes (JVMs) - in order to get it to scale out distributed.</p>

<p>Makes sense?</p>

<p>/Jonas</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: john</title>
		<link>http://jonasboner.com/2006/09/14/how-to-implement-a-distributed-commonj-workmanager/#comment-14737</link>
		<pubDate>Tue, 02 Oct 2007 19:46:48 +0000</pubDate>
		<guid>http://jonasboner.com/2006/09/14/how-to-implement-a-distributed-commonj-workmanager/#comment-14737</guid>
					<description>&lt;p&gt;if the manager and worker are started in the same thread the worker will just block, wouldn't you need to start the worker in a different thread too?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>if the manager and worker are started in the same thread the worker will just block, wouldn&#8217;t you need to start the worker in a different thread too?</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Jonas</title>
		<link>http://jonasboner.com/2006/09/14/how-to-implement-a-distributed-commonj-workmanager/#comment-7020</link>
		<pubDate>Mon, 26 Feb 2007 21:57:09 +0000</pubDate>
		<guid>http://jonasboner.com/2006/09/14/how-to-implement-a-distributed-commonj-workmanager/#comment-7020</guid>
					<description>&lt;p&gt;Hi Eric.&lt;/p&gt;

&lt;p&gt;Sorry that you didn't get it to work. I don't know exactly what you mean, what did not work and which typos you are referring to but if you are interested in getting something like this running then I suggest that you take a look at this article:
http://jonasboner.com/2007/01/29/how-to-build-a-pojo-based-data-grid-using-open-terracotta/&lt;/p&gt;

&lt;p&gt;It is a much more thorough article addressing the same or similar use-case (also implementing the CommonJ spec.) but takes it much further by addresses real-world requirements and deployment issues etc. &lt;/p&gt;

&lt;p&gt;It also has code that you can check out as well as a sample app (distributed web spider). See the article (bottom) for details, but here is where you can find the code: 
http://svn.terracotta.org/svn/forge - (module projects/labs/opendatagrid)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Eric.</p>

<p>Sorry that you didn&#8217;t get it to work. I don&#8217;t know exactly what you mean, what did not work and which typos you are referring to but if you are interested in getting something like this running then I suggest that you take a look at this article:
http://jonasboner.com/2007/01/29/how-to-build-a-pojo-based-data-grid-using-open-terracotta/</p>

<p>It is a much more thorough article addressing the same or similar use-case (also implementing the CommonJ spec.) but takes it much further by addresses real-world requirements and deployment issues etc. </p>

<p>It also has code that you can check out as well as a sample app (distributed web spider). See the article (bottom) for details, but here is where you can find the code: 
http://svn.terracotta.org/svn/forge - (module projects/labs/opendatagrid)</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Eric DeFazio</title>
		<link>http://jonasboner.com/2006/09/14/how-to-implement-a-distributed-commonj-workmanager/#comment-7018</link>
		<pubDate>Mon, 26 Feb 2007 21:42:31 +0000</pubDate>
		<guid>http://jonasboner.com/2006/09/14/how-to-implement-a-distributed-commonj-workmanager/#comment-7018</guid>
					<description>&lt;p&gt;The above code does not actually work... I was trying the (unclustered) workmanager using the simple blocking queue, (after I fixed a bunch of typos) and when I run it nothing actually happens.(actually it just sits there blocking constantly). I included the spring and common-j implementations as well as the spring-support jars.  Do you have a working version of the code or so I just cut bait and write my own?&lt;/p&gt;

&lt;p&gt;Thanks,
Eric&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>The above code does not actually work&#8230; I was trying the (unclustered) workmanager using the simple blocking queue, (after I fixed a bunch of typos) and when I run it nothing actually happens.(actually it just sits there blocking constantly). I included the spring and common-j implementations as well as the spring-support jars.  Do you have a working version of the code or so I just cut bait and write my own?</p>

<p>Thanks,
Eric</p>
]]></content:encoded>
				</item>
</channel>
</rss>
