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 the form of storage space in java?
What is ioc concept?
What restrictions are placed on the values of each case of a switch statement?
Define the remote object implementation?
Difference between loadclass and class.forname?
Difference between DurableSubscription and non- DurableSubscription?
what are RemoteObjects?
What is the difference between the ‘font’ and ‘fontmetrics’ class?
What is aop(assepct oriented programing)?
what is the use of State Factories?
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?
Can you control when passivation occurs?
What is a modular application? What does module-relative mean?
What is the difference between system.out ,system.err and system.in?
Define aop(assepct oriented programing)?