Yes, I am talking about the same actual instance of the EJBObject. Is there any J2EE approved way to send a reference to an EJB object from a Session Bean via JMS to a MDB, so that the same instance can be referenced by the MDB? Our Entity Bean is a very heavy weight object and we do not want to keep reusing the instance, rather than create a new instance.
thanks >From: "Dmitri Colebatch" <[EMAIL PROTECTED]> >To: "pan master" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> >Subject: Re: Handles >Date: Tue, 19 Feb 2002 11:05:26 +1100 > > > If I serialize the Handle of EJBObject, send it via JMS to a MDB, which > > deserializes, the Handle to a Bean, what EJB object would be referenced > > after de-serialization? Would the EJBObject be the same as the one whose > > handle was serialized, or a new EJBObject would be created? > > > > I could not find any information about what is the expected behavior in >EJB > > specs. Can someone please clarify what should be the behavior? > >are you talking about the actual _instance_ of the EJBObject (as opposed to >the EJB)? Depending on the app server implementation, >it could be a new/different/same EJBObject instance. However, you are >guarenteed that you will get the same actual EJB (!= >EJBObject). > >hth >dim > _________________________________________________________________ Join the world�s largest e-mail service with MSN Hotmail. http://www.hotmail.com =========================================================================== 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".
