users@glassfish.java.net

Re: RE: JCA spec compliance

From: <forums_at_java.net>
Date: Fri, 19 Nov 2010 07:56:11 -0800

A singleton EJB is not allowed to create threads either, even with bean
managed concurrency.  It can use synchronization primitives, but is not
supposed to create threads.

I need to keep my ExecutorService injectable via the Java EE standards, so
no.

This is all sounding like I have to engage in the connection management
contract.  Since this is the second time I've had to do this, I at least
know how.

Thanks,

Laird


--
[Message sent by forum member 'ljnelson']
View Post: http://forums.java.net/node/718991