users@glassfish.java.net

Re: RE: JCA spec compliance

From: NBW <emailnbw_at_gmail.com>
Date: Fri, 19 Nov 2010 14:04:46 -0500

What about using @Schedule or EJBTimer services or Async methods on the EJB?

-Noah

On Fri, Nov 19, 2010 at 10:56 AM, <forums_at_java.net> wrote:

> 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
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>


-- 
"Computers are fast. They just take longer."