Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Question 5 on HF EJB page 169/171  RSS feed

 
Jeff Shelley
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
First off, I LOVE THIS BOOK! I never actually looked forward to studying anything before.
I do have a question, and I'm sorry if I missed the answer somewhere.
On page 179 and 171 of HF EJB, question 5 says:
"The remove() method in the component interface can be used only by remote clients"
The answer leaves this unchecked, stating "-no, only for local". But I can't figure out why. Shouldn't I be able to call remove() on a component interface to any session bean, regardless of the Local/Remote affiliations I have with it?
Thank you in advance for helping me out.
--Jeff
 
Philippe Maquet
Bartender
Posts: 1872
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jeff,
Welcome to this forum.
On page 179 and 171 of HF EJB, question 5 says:
"The remove() method in the component interface can be used only by remote clients"
The answer leaves this unchecked, stating "-no, only for local". But I can't figure out why. Shouldn't I be able to call remove() on a component interface to any session bean, regardless of the Local/Remote affiliations I have with it?

I think that the comment "-no, only for local" could be translated by "-no, by local clients as well".
Cheers,
Phil.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!