• 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

skeletons -stubs

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
whar are skeletons and stubs in EJB.
What is Reflection in Java.
 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Stubs are server program in the client side.It contains information about the location of the program or object and also contains network information.Clients normally contact stub.
Skelton are server program in the server side.Skelton wraps the object.It knows about all the methods of an object.It will redirect the request from stub and returns the necessary information.
Hope this may clear yr doubt.
A.umar
 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Skeletons (server side) and Stubs (client side) are classes that enable the remote communication between client and server.
They are automatically generated by your ejb deployment tool (or rmic for rmi). You need not worry about them (apart from that they exist) as they are not part of a developers responsibility; they are produced by a vendor tool from the EJBs you create.
Reflection is the ability within Java to gain information\manipulate classes at runtime. You need not know what the classes are at compile time. Based around the java.lang.reflect package. Review the api for further info.
Reflection can be a very powerful mechanism but has performance issues plus it can be dangerous as loosing compile time checking.
Phil

reply
    Bookmark Topic Watch Topic
  • New Topic