• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

stubs

 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
Why cannot I serialize stubs ?
 
viswanadh kasinadhuni
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As far as I know, the skeletons remain on the server-side and the stubs are simply serialized to the client. Then the client can invoke methods on that stub. The stub forwards the method call by sending the request and the parameters to the skeleton where the method is invoked on the remote object. The return value is sent back to the stub which again forwards it to the invoker. Stub and skeleton themselves do not implement any network functionality. Low-level rmi classes take care of these tasks.
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If stubs are serializable, why do we need EJBHandle?
 
viswanadh kasinadhuni
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A more detailed discussion on the topic can be found at the following url:
http://groups.yahoo.com/group/j2eerocks/message/2628
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic