Just a basic question.
Is the no of EJBObjects created by the EJB container is one object per client or on object per bean instance.
Does it differ anyhow in entity and session beans. If yes then why?
I had my own understanding that there in one per client but I developed doubts when I read things like shared EJBObject for preventing concurrency problems in Richards book(Enterprise JavaBeans).
Regards
Mahendra
-----Original Message-----
From: Charlie Alfred [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 17, 2000 6:14 PM
To: [EMAIL PROTECTED]
Subject: Re: Method returns Object, control whether it's replicated or a
refe rence?
I suspect that it will behave like RMI and return a remote reference if
the object implements java.rmi.Remote. Otherwise, it will be serialized
and returned by value.
Regards,
Charlie Alfred
> -----Original Message-----
> From: Smith, Curt H. [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 16, 2000 7:31 AM
> Subject: Method returns Object, control whether it's replicated or a
> refe rence?
>
>
> > Hi,
> >
> > How do I control whether an EJB method returning an object serializes the
> > return (replicates on client) or returns a remote reference (proxy)?
> >
> > Thanks
> >
> > curt
> >
> >
> > Curt Smith
> > Z-Tel
> > email: [EMAIL PROTECTED]
> > work: 404-237-1166 x182
> > FAX: 404-237-1167
> >
> >
>
===========================================================================
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".
