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
Are enterprise beans allowed to use thread.sleep()?
Is jvm a overhead?
What is the relationship between an event-listener interface and an event-adapter class?
Have you used threads in Servelet?
Why do I get a duplicate name error when loading a jar file?
What must a class do to implement an interface?
What is table mutation and how do you avoid it?
Brief description about local interfaces?
what is handle?
What is the diffrence between a local-tx-datasource and a xa-datasource?
Write a singleton program?
Describe, in general, how java's garbage collector works?
What modifiers may be used with an inner class that is a member of an outer class?
What do you need to set-up a cluster with jboss?
Do we need to override service() method