What is the difference between a stub and a skeleton?

Answer Posted / k.latha

Before you can use the client and server, you must generate
the necessary stub. You
may also need to generate a skeleton. In the context of
RMI, a stub is a Java object that
resides on the client machine. Its function is to present
the same interfaces as the
remote server. Remote method calls initiated by the client
are actually directed to the
stub. The stub works with the other parts of the RMI system
to formulate a request that
is sent to the remote machine.

Is This Answer Correct ?    20 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are enterprise beans allowed to use thread.sleep()?

647


Is jvm a overhead?

623


What is the relationship between an event-listener interface and an event-adapter class?

554


Have you used threads in Servelet?

1931


Why do I get a duplicate name error when loading a jar file?

542






What must a class do to implement an interface?

583


What is table mutation and how do you avoid it?

1915


Brief description about local interfaces?

627


what is handle?

1851


What is the diffrence between a local-tx-datasource and a xa-datasource?

576


Write a singleton program?

568


Describe, in general, how java's garbage collector works?

536


What modifiers may be used with an inner class that is a member of an outer class?

573


What do you need to set-up a cluster with jboss?

575


Do we need to override service() method

1139