• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJBLocalObject interface

 
reubin haz
Ranch Hand
Posts: 287
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
here is the question in HFEJB final mock exam #22

which capabilities are defined in the javax.ejb.EJBLocalObject interface?

A ...
B ...
C ...
D ...
E Expose the methods of the javax.ejb.EntityBean interface to the client

I'm wondering why choice E is incorrect. If it's not component's job to expose bean methods to the client, whose capability is it belong to?

Thanks.
 
Ankit Doshi
Ranch Hand
Posts: 222
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
javax.ejb.EntityBean interface contains the container call back methods like ejbLoad, ejbStore, ejbActivate, ejbPassivate, etc. If I am understanding it right, the client should never be interested in these methods.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic