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

Doubt in Handle

 
Micheal John
Ranch Hand
Posts: 344
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

I am prepaaring for SCBCD in HF.

I have a doubt in the handle concept:
What my understanding is we can able to get the bean, through the home interface's create(), which will return the component interface (EJBObject)

In the EJBObject interface, we have a method called getHandle().

Whether this method is used for getting the EJBObject references without having home OBject???
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes. You can get a Handle, and serialize it somewhere. (like save it to disk)
It would then be possible to deserialize it from a different JVM. (as long as the bean still exists)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic