[concurrency-interest] Executors, Work Manager, JEE

Ryan LeCompte Ryan.LeCompte at pango.com
Thu Feb 1 11:33:18 EST 2007

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.


From: Peter Veentjer [mailto:alarmnummer at gmail.com]
Sent: Thu 2/1/2007 11:34 AM
To: Ryan LeCompte
Cc: concurrency-interest at cs.oswego.edu
Subject: Re: [concurrency-interest] Executors, Work Manager, JEE

Hi Ryan.

it depends on what you want to do and which technologies you need to
use. I use the JSR166 in a lot of serverside projects and in
combination with Spring it works like a dream.

On 2/1/07, Ryan LeCompte <Ryan.LeCompte at pango.com> wrote:
> Hello,
> I'd like to know how "safe" it is to use the new Java concurrency utilities
> within a JEE container, also taking into account the Work Manager API
> designed/implemented by IBM/BEA. Traditionally it has been discouraged to
> spawn your own threads within the JEE container, because the container can't
> manage those threads, etc. Does the same of thinking hold true if I utilize
> the new Java concurrency utilities for thread pools, etc? What are my
> options if my JEE container doesn't support the Work Manager specification
> (which, if I recall, hasn't even been finally approved as a standard part of
> JEE).
> Thanks,
> Ryan
> _______________________________________________
> Concurrency-interest mailing list
> Concurrency-interest at altair.cs.oswego.edu
> http://altair.cs.oswego.edu/mailman/listinfo/concurrency-interest

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

More information about the Concurrency-interest mailing list