When the client component (class) is in the same JVM as the local
EJB whose local component interface it gets as a parameter, the option b works ok. For example:
Client.java:
public void myMethod(MyEJBLocalObject o)
{
o.myBusinessMethod(); //this works if the client is in the same JVM
}
Correct me if I am wrong!
Originally posted by Rashmi Tambe:
Hi all,
Page 291, has a question (#3):
which are ways in which a client can get a reference to an existsing entity object's local component interface?
One of the correct options is -
Receive the reference as a parameter in a method call.
I have not understood this option. Can somebody explain this?
[ February 26, 2004: Message edited by: Rashmi Tambe ]