aspose file tools*
The moose likes Distributed Java and the fly likes Stubs and Skeletons Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Stubs and Skeletons" Watch "Stubs and Skeletons" New topic
Author

Stubs and Skeletons

Atul Sawant
Ranch Hand

Joined: Jul 06, 2006
Posts: 304
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!


Mission SCWCD. Mission SCJP Complete: SCJP 1.4 - 91%
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

It's not an SCWCD related question. I send you to Distributed Java, where RMI is discussed.


[My Blog]
All roads lead to JavaRanch
Peter Chase
Ranch Hand

Joined: Oct 30, 2001
Posts: 1970
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?


Betty Rubble? Well, I would go with Betty... but I'd be thinking of Wilma.
Atul Sawant
Ranch Hand

Joined: Jul 06, 2006
Posts: 304
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

Joined: Oct 30, 2001
Posts: 1970
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Stubs and Skeletons