• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Question 5 on HF EJB page 169/171

 
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
 
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.
 
Something must be done about this. Let's start by reading this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic