• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Question 5 on HF EJB page 169/171

 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 1872
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic