What are skeletons and stubs and how they are generated?

Answer Posted / akshay odhekar

Stub and Skeleton are two objects created by Server.To
create these two objects we give command "rmic" then
filename_stub.class is generated.
Server then gives this stub to client.also object binding
is done and registerd in rmi registry.
When Client object wants to invoke method residing in
server.
It will look in to rmi registry for avaiblity of that oject.
If binding of that object is done by server. then Client
sends parameter to server via Stub after serializing them.
Stub communicates with skeleton and method is invoked and
result is sent back to stub.all this is marshalling and
unmarshalling.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is actionform a base class rather than an interface?

565


Explain phantom read?

1734


What method is invoked to cause an object to begin executing as a separate thread?

572


What is scalable, portability in the view of J2EE?

1869


What are the different approaches to represent an inheritance hierarchy?

581






How are commas used in the intialization and iteration parts of a for statement?

581


How can I scroll through list of pages like the search results in google?

565


How to implement RMI in Java?

2399


Can I have an action without a form?

590


Which characters may be used as the second character of an identifier, but not as the first character of an identifier?

536


Name three subclasses of the component class?

612


what is handle?

1845


What is the RMI and Socket?

623


What is the difference between the session.get() method and the session.load() method?

598


Can I run seam outside of jboss as?

638