Jeff,
If your EJB works with a stub of java class that spawns thread or talks to
native code, its fine.
But if your ejb talks to non-ejb instance and spawns thread in its
process/JVM/container, its illegal.How to talk to native code: Connector
specs are in this direction. The other way around threads and native code is
bind an object in naming and work with its stub.

Punit


>From: Evan Ireland <[EMAIL PROTECTED]>
>Reply-To: A mailing list for Enterprise JavaBeans development
><[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: Clarification needed on Thread and non-final static
>   restrictionsfor EJB
>Date: Sun, 19 Sep 1999 14:57:39 +1200
>
>"Bailey, Jeff" wrote:
> >
> > I understand that an EJB cannot create a new thread or have a non-final
> > static, but can an EJB use an instance of another Java class (not an
>EJB)
> > which does?
>
>That is an excellent question. I hope that someone from Sun can give you an
>excellent answer, in particular one that doesn't refer to RMI or CORBA :-)
>
> > If not, what patterns do EJB developers typically use to get around the
> > limitations?
> >
> > Jeff Bailey ([EMAIL PROTECTED])
> > Sr. Software Engineer
> > NetGenics, Inc.
> >
> >
>===========================================================================
> > 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".
>
>--
>________________________________________________________________________________
>
>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".
>

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

===========================================================================
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