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
What is permgen or permanent generation?
How many times may an objects finalize() method be invoked by the garbage collector?
What are the different methods of identifying an object?
Explain the advantages and disadvantages of detached objects.
How task's priority is used in scheduling?
When a thread blocks on i/o, what state does it enter?
What is the difference between ear, jar and war file?
If I wanted to use a solarisui for just a jtabbedpane, and the metal ui for everything else, how would I do that?
How would you create a button with rounded edges?
How to deploy Jar, War files in J2EE?
Do we need to override service() method
Why are some of the class and element names counter-intuitive?
what are the advantages of JTA over JTS?
What is the difference between the font and fontmetrics classes?
What is scalable, portability in the view of J2EE?