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 are component architectures useful?
What is Stream Tokenizer?
What are the purpose of introspection?
For which statements does it make sense to use a label?
What are local interfaces? Describe.
Is a class a subclass of itself?
Explain phantom read?
why static class in java
What are various types of class loaders used by jvm?
What is mdb and what is the special feature of that?
Is “abc” a primitive value?
What is a class loader?
What is the difference between RMI and Corba?
What are the different class loaders used by jvm?
Difference between new operator and class.forname().newinstance()?