• Post Reply Bookmark Topic Watch Topic
  • New Topic

HF EJB mock exam problem (page 168)

 
Li Xin
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
For question 3 on page 168, can someone explain why option D is correct?
The question mentions that R is a remote client of B, but R can be another bean, right? So why B cannot invoke method on it?
Thanks.
 
Vishwa Kumba
Ranch Hand
Posts: 1066
 
pradeep arum
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
its as simple as R has the home object of B because R is the client of B and B does not have the home object of R since no where it is told that B is the client of R.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!