posted 21 years ago
I read this question and option
B,A cannot pass his reference for B, to R
D, B cannot invoke methods on R
are correct because reference to local object must not be passed out the JVM in which it was created(According to spec),so in that case A is the local client for B and A cannot pass his reference to R for B becauae R is a remote client and exist into other JVM. A client can pass his local object reference to another application through its local inteface, A local home object reference cannot be passed as an argument or result of a method on an enterprise bean remote home or remote interface.
Regards,
Nauman Khan <br />SCJP,MCSE,SCWCD,SCBCD,SCWCD1.4