Why not use a stateless session bean? I know that Web Logic has very strange
behavior when it comes to serialization. When sending over the wire they use
their T3 version and when passivating they use sun's serialization.
William
> -----Original Message-----
> From: Nitin Jain [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, March 01, 2000 6: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".
***********************************************************************
Bear Stearns is not responsible for any recommendation, solicitation,
offer or agreement or any information about any transaction, customer
account or account activity contained in this communication.
***********************************************************************
===========================================================================
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".