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

What restrictions are placed on the location of a package statement within a source code file?

603


How will you pass parameters in RMI? Why do you serialize?

678


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

551


Is it possible to stop the execution of a method before completion in a sessionbean?

584


Have you used threads in Servelet?

1923






Why does the option tag render selected=selected instead of just selected?

662


Name the eight primitive java types.

584


What are callback interfaces?

579


AS a developer will u create a data source in connection pool? If so how will u do that, how to access the object from connection pool using IRAD tool?

1619


What is the difference between long.class and long.type?

546


what are the activation groupworks?

1660


Do I need to import javlang package any time? Why ?

616


Explain about local interfaces.

569


In inglish: How to convert jar to exe files? Em português: Como converter arquivos .jar para .exe?

2145


How to implement dphibernate to activate lazy loading in Flex with java ?thanx in advance!

2541