posted 19 years ago
Hi,
Here is excerpt from Kathy's and Bert's book which raises me a questions:
"Given a remote client 'R', that has valid references to session beans 'A' and 'B', and given that A is local to B, which statements are true?
Amongst others I chose:
A. R cannot pass his reference for A, to B.
Is it possible that bean B will call business methods on bean A using the remote interface it has received from R client? I understand it might just keep the remote ref to A for some purpose to return it later back at R, maybe. But can B invoke business methods? R and A-B are running on different JVMs, and the reference passed is a stub, which was supposed to let access the bean A from R computer, and the B is might be on the other computer. Can you carry remote interface stub between JVM's and still access business methods using it???