Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

question about remove() method...

 
Jezreel Canav
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the mock exam answers of page 171 (HFEJB) mark false the C statement:

C) The remove()method in the component interface can be used only by remote clients

and explain:

no, only for local

i thougtht the remove() method was valid for both, not only for remote, not only for local, rather than for both
 
Keerthi P
Ranch Hand
Posts: 203
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes. You are right. remove() method is available in both EJBObject and EJBLocalObject and so it is available for local and remote clients.
 
Joe Nguyen
Ranch Hand
Posts: 161
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think the side note no, only for local indicates that client can remove local bean only by calling remove() method on componen interface
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic