Hi all
I have a confusion over the ralationship between a client thread, an
EJBObject and the actual beanImpl instance.
Lets take the stateless session bean first.
In the client side I get an objRef for the bean like this:-  Register
register = registerhome.create();
Now when I invoke a method on the "register" object, the invocation first
goes to an EJBObject which
 in turn fwds the request to an instance of the stateless session bean.
Q1> Now if I again invoke the another method of the objRef then does the
invocation goes to the same EJBObject instance everytime??
OR it goes to a diffrent EJBObject instance??
The spec says that a client cant assume that the same bean instance will
service it every time. But can the same EJBObject instace
service it everytime if the objref used is the same??


Q2>Now can that "register" objRef be used in multple threads??

TIA
Anamitra



Anamitra Bhattacharyya
US Power Solutions
Cambridge
MA



STATEMENT OF CONFIDENTIALITY.   The information contained in this electronic
message and any attachments to this message are intended for the exclusive
use of the addressee(s) and may contain confidential or privileged
information. If you are not the intended recipient, please notify
USPowerSolutions Corporation immediately at (617) 547-3800, or at
[EMAIL PROTECTED], and destroy all copies of this message and any
attachments.

===========================================================================
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".

Reply via email to