Hi,
I've been working with EJBs in NetDynamics, and my experience has been a
total pain.I think the exceptions you talk about have nothing to do with sharing
the bean, but with the poor implementation of EJBs in ND.
Regards
Jose
"Subrahmanyam A.V.B." wrote:
> Hi All:
>
> This is a question I have for a long time. The requirement seems reasonable.
> Though entity beans can be used for his, not all shared data need be
> persistent!
>
> However, the spec says that "A session object is not shared among multiple
> clients." Check this in the first paragraph of Sec 5.1.
>
> We tried this once with NetDynamcs. It allowed clients in the same container
> to share the session (stateful) beans, but gave some mystic exceptions after
> a bean passivation/activation.
>
> Regards,
>
> Subbu
>
> ----- Original Message -----
> From: "Nitin Jain" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, March 01, 2000 1:03 AM
> 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".
===========================================================================
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".