Reread what you just wrote: "to attempt to access files and directories in the
file system".
Serializing has nothing to do with accessing files and directories in the
filesystem, so that would be ok.
M.
Nitin Jain <[EMAIL PROTECTED]>
03/01/2000 06:03 AM GMT
Please respond to A mailing list for Enterprise JavaBeans development
<[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc: (bcc: Matthew T. Machczynski)
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".