[concurrency-interest] Backport concurrency util in EJB

OKeeffe, Michael K MOKEEFFE at amfam.com
Tue Dec 12 10:01:56 EST 2006



>-----Original Message-----
>>
>> if the codes only depending on database access, how safe is 
>it to use 
>> backport concurrent util? (as the EJB spec clearly disencourage 
>> spawning thread).
>>
>The problem is that an EJB container maintains informations associated 
>with threads
>in order to manage transactions, security etc.
>
>more here, http://blog.w1c.ca/?p=92
>and google: batch processing J2EE
>>
According to this blog, until the spec catches up (and it seems it hasn't), the only acceptable way to do this is with vendor APIs, for example:
http://www.devwebsphere.com/devwebsphere/2003/11/async_beans_int.html



More information about the Concurrency-interest mailing list