I have read in HF EJB that
" According to Bean Law, you must not return a bean's Remote interface from a local interface method"
And there is a question in Coffee Cram.
Head First EJB , Chapter 3 Page 168
3) Given a remote client 'R', that has valid references to session beans 'A' and 'B', and given that A is a local client to B,which stattements are true? (Choose all that apply)
A) R can not pass his reference for A to B
B) A can not pass his reference for B to R
C) A can not invoke methods on B
D) B can not invode methods on R.
Answers are B and D.
Ok Im sure about B, but cannt get my head around D, why is that?Maybe im missing something but,
R also got reference of B so why not B can invoke methods ?