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
Why is actionform a base class rather than an interface?
Explain phantom read?
What method is invoked to cause an object to begin executing as a separate thread?
What is scalable, portability in the view of J2EE?
What are the different approaches to represent an inheritance hierarchy?
How are commas used in the intialization and iteration parts of a for statement?
How can I scroll through list of pages like the search results in google?
How to implement RMI in Java?
Can I have an action without a form?
Which characters may be used as the second character of an identifier, but not as the first character of an identifier?
Name three subclasses of the component class?
what is handle?
What is the RMI and Socket?
What is the difference between the session.get() method and the session.load() method?
Can I run seam outside of jboss as?