Yeah u can use the instance of other classes (Not EJBs) into the EJB. The
only thing is that you will have to make them available there by loading
(Using loadjava)it for the same user, for which u have deployed the beans.
Apart from it, this is a very general practice to bundle other non EJB
supporting classes with the beans classes (the bean, home and remote
classes) into the jar and deploy the beans with it (the Jar).
Hope it helps.
--
>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".