You could serialize the handle and store it in a database.

-Chris.

> -----Original Message-----
> From: Nitin Jain [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, March 01, 2000 1:03 AM
> To:   [EMAIL PROTECTED]
> Subject:      sharing a Session Bean
>
> Hi All!
> I am using weblogic 4.5.1 as my app server.
> I want a sharable session bean which can be used by other session beans.
> If I serialize the handle of the session bean then it works for the beans
> in the same container, but wont work for the beans outside it. Also EJB
> Specs says, " An enterprise bean must not use the java.io package to
> attempt to access files and directories in the file system." ( pg 275 of
> Enterprise JavaBeans 1.1, Public Draft 3)
> Therefore serialization is not the proper way to do that.
> Is there any other way by which the task can be carried out.
>
> Thanks,
> Nitin Jain
>
> ==========================================================================
> =
> 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