What? Then how does a client application access an ejb bean?
dan
Assaf Arkin wrote:
> > So suppose from the main thread I create a new thread and do the above. (Get the
> > InitialContext, etc.). Such a thread doesn't have any container-stuff either. So
>how does that
> > work?
>
> It wouldn't. An EJB container can barf if you try to get InitialContext
> outside of an EJB thread. Moreso, even if it can give you a context,
> there's no way to tell which resources and EJBs to place in that
> context, since the thread has no particular deployment descriptor
> associated with it.
>
> If you were able to define a ThreadBean, you could provide the
> deployment descriptor and get the JNDI ENC for that bean from that
> thread.
>
> arkin
>
> >
> > dan
> >
> > >
> >
> > ===========================================================================
> > 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".
>
> --
> ----------------------------------------------------------------------
> Assaf Arkin www.exoffice.com
> CTO, Exoffice Technologies, Inc. www.exolab.org
===========================================================================
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".