Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJBLOcalObject : getHandle() method

 
Rashmi Tambe
Ranch Hand
Posts: 418
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why EJBLOcalObject interface does not define getHandle() method?
 
Nandu Jawale
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For the same reason why it does not have method to get meta data. Handle is a serializable wrapper over the bean's ejb object which a client (in case of remote interfaces) can serialize and use later (of course with few restrictions!) to save a remote call to get the bean again. As calls to local components are not remote invocation, the handle in case of local component becomes useless.
Hope it helps.
Nandu
 
Rashmi Tambe
Ranch Hand
Posts: 418
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thnks nandu...it is clear to me now...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic