dan benanav wrote:
>
> All I was asking about is what would happen if I create a new thread from within a 
>bean method and
> then get an InitialContext in the same way that I would from a client thread.  I was 
>wondering why
> that wouldn't work.

As an example, the lookup method on the InitialContext (in the server case)
might attempt to make an inter-component call to the naming service. If the
server requires all inter-component calls within the server to be done from
container-managed threads, the lookup call will fail.

Anyway this is just an example, since the way the spec is written actually
permits the use of JVMs that don't permit explicit thread creation at all.
________________________________________________________________________________

Evan Ireland              Sybase EA Server Engineering       [EMAIL PROTECTED]
                            Wellington - New Zealand              +64 4 934-5856

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to