[concurrency-interest] Executors, Work Manager, JEE

Ryan LeCompte Ryan.LeCompte at pango.com
Thu Feb 1 14:29:39 EST 2007

Thank you all for your suggestions! I'll be investigating this further.


From: concurrency-interest-bounces at cs.oswego.edu on behalf of Gregg Wonderly
Sent: Thu 2/1/2007 1:42 PM
Cc: concurrency-interest at cs.oswego.edu
Subject: Re: [concurrency-interest] Executors, Work Manager, JEE

Ryan LeCompte wrote:
> Thanks for responding. I basically need a safe way to asynchronously
> schedule work to be executed, as well as schedule work to be executed
> periodically (think Quartz or java.util.Timer). I was thinking I could
> use the new Executor/task framework to achieve this, but I am not sure
> if this is "safe" within JEE containers, although the new concurrency
> utilities avoid the direct use of java.lang.Thread directly. Any insight
> would be very helpful.

The JEE model is already using "pools" to dispatch inbound work requests (web
pages or method calls etc).  I don't think that the design paradigm was intended
to include so many of the other things that one might find in code that is more
like an application or container itself.  As others have said, you might need to
consider your design basis to see if you really should put that other stuff into
another place such as a simple JSE application or into a larger service platform
such as Jini or something else which can provide your the power that you need
with the portability that you might desire.

Gregg Wonderly
Concurrency-interest mailing list
Concurrency-interest at altair.cs.oswego.edu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/attachments/20070201/f4981967/attachment.html 

More information about the Concurrency-interest mailing list