• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spec Doubt

 
Deepika Pereira
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The remote home interface for a Session Bean allows to -

" Obtain a handle for the remote home interface. The home handle can be serialized and written
to stable storage. Later, possibly in a different JVM, the handle can be deserialized from stable
storage and used to obtain back a reference of the remote home interface. "

My question is that how does the deserialization work in a different JVM.
Can somebody please explain this ?
 
cheenu Dev
Ranch Hand
Posts: 276
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you get the handle which knows how to communicate with the EJBObject or EJBHome and it knows the ip and all the stuff.
also as a client what you get is a stub to remote ejbobject.all you do by getting handle is something deserializable to a stub.
more about this..hmm no idea..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic