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

Explain the difference between object state and behavior?

563


what is Activation Instantinator?

1903


How many times may an objects finalize() method be invoked by the garbage collector?

668


What are transaction attributes?

610


What is the relationship between the canvas class and the graphics class?

535






Do you think that java should have had pointers?

594


What class is used to create Server side object ?

1666


what is handle?

1845


Why doesn’t the focus feature on the tag work in every circumstance?

561


Name the eight primitive java types.

591


How task's priority is used in scheduling?

1779


What is the difference between session and entity beans?

578


Name three component subclasses that support painting?

610


Explain about RMI Architecture?

608


Where we can write Rmi registry in the code, without having to write it at the command prompt?

2252