• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

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

 
I'm just a poor boy, I need no sympathy, because I'm easy come, easy go, little high, little low, little ad
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic