Handles are server-implemented references that does re-lookup to get you the
original EJBObject. Two different Handles can represent the same EJBObject.
Gene
-----Original Message-----
From: A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED]]On Behalf Of Leonardo Momo Pedrosa
Sent: Thursday, April 19, 2001 12:40 PM
To: [EMAIL PROTECTED]
Subject: Handle doubt!
I am manipulating a Stateful Session bean.
When I ask from the client to print the Handle twice times of this Stateful
Bean, I get 2 different strings.
If I perform the following commands from the client:
System.out.println(EjbObject.getHandle().toString());
System.out.println(EjbObject.getHandle().toString());
I get something like:
org.jboss.ejb.plugins.jrmp.interfaces.StatefulHandleImpl@7d8e65f4
org.jboss.ejb.plugins.jrmp.interfaces.StatefulHandleImpl@7dd665f4
So, if they are different, how can I eventually recover a Stateful Session
Bean?
Thank you,
Leonardo
===========================================================================
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".