• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Stub and skeleton?

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 6663
5
MyEclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Go through a basic tutorial on RMI to understand stubs and skeletons
 
reply
    Bookmark Topic Watch Topic
  • New Topic