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

Stub and skeleton?

 
mahudees waran
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hai,
it is confusing about what is stub and skeleton.what do they have.also,about the remote object, EJBobject and home object.where do EJBobject live?, what do skeleton contain.

please help me.

by
Mahudeeswaran.P
 
Mansur Khan
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If one were reading HFEJB, one would never have this doubt uncleared.

I can say that stub and skeleton are deployment-time generated classes which work as dynamic proxies to the bean. Truely speaking, an EJBObject is a stub and is a dynamic proxy (Bodyguard in HFEJB literature) to the enterprise bean class. This indirection is the heart and soul of EJB (and many other latest distributed technologies). While the stub is the client-side care-taker, the skeleton is the server-side care-taker (marshalling and unmarshalling of the object copies and IIOP-compltable method arguments for remote objects).

HFEJB speaks only about stubs and not skeletons. You can read RMI for a better understanding.
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Go through a basic tutorial on RMI to understand stubs and skeletons
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic