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
What is a tasks priority and how is it used in scheduling?
What is difference between object state and behavior?
What are the benefits of detached objects?
In RMI, inorder to sent the stub reference to the client, is we have to load the server object first into the memory or can we directly sent reference to the client?
Are we allowed to change the transaction isolation property in middle of a transaction?
What are the design considerations while making a choice between using interface and abstract class?
What classes of exceptions may be caught by a catch clause?
Java is fully object oriented languages or not?
Why won’t the jvm terminate when I close all the application windows?
What is the difference between the ‘font’ and ‘fontmetrics’ class?
What is TL and its use?
Is there a guarantee of uniqueness for entity beans?
Why does the option tag render selected=selected instead of just selected?
Can I run seam outside of jboss as?
Define the remote object implementation?