• 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

Stubs and Skeletons

 
Ranch Hand
Posts: 304
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello...

http://java.sun.com/j2se/1.4.2/docs/guide/rmi/spec/rmi-arch2.html

Could someone please explain what stubs and skeletons are and what exactly they are used for in simple language.

Thanks!
 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's not an SCWCD related question. I send you to Distributed Java, where RMI is discussed.
 
Ranch Hand
Posts: 1970
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I can't do much better than the reference that you provided. That seemed to explain stubs and skeletons rather well.

Do you have some specific points that you don't understand?
 
Atul Sawant
Ranch Hand
Posts: 304
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks!

Would you just try to explain them in layman's term please?

Thanks again.
[ August 13, 2007: Message edited by: Atul Sawant ]
 
Peter Chase
Ranch Hand
Posts: 1970
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think you mean "layman's terms".

A stub is an object that goes between the client code and the network, to give the client code the illusion that it is working with a local object.

A skeleton does a vaguely similar job between server object implementation code and the network.

Beyond that, I can't do a better general explanation than the one in the reference. If you were to indicate what specific aspects of that are causing you problems, I might be able to help.

Note, though, that distributed systems are not trivial to understand. You will have to put some work in.
 
reply
    Bookmark Topic Watch Topic
  • New Topic