You might want to look into the use of getHandle() and getEJBObject(),
though this is usually only applicable to entity beans.  The instance still
needs to be around when getEJBObject() is called.  Hope this helps.
-Chris

-----Original Message-----
From: guo_yonglin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 02, 2001 1:13 AM
Subject: Re: can stateful session bean be shared?


I don't know why you want to do that?
In general, after finished access, you can remove it by Remoce() method, and
then you can invoke in other client.
Please remember, the remove() method, only destroy EJBObject and not beans!
charles



> -----Original Message-----
> From: que [SMTP:[EMAIL PROTECTED]]
> Sent: Saturday, December 30, 2000 10:18 AM
> To:   [EMAIL PROTECTED]
> Subject:      can stateful session bean be shared?
>
>
> Hi all,
> I would like a servlet to access a stateful session bean, and when
> the processes finished, I would like to pass the stateful session
> bean's ejbobject to another client, such as a servlet, will it work?
> Que
>
> ==========================================================================
> =
> 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".

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