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 are component architectures useful?

575


What is Stream Tokenizer?

1732


What are the purpose of introspection?

680


For which statements does it make sense to use a label?

591


What are local interfaces? Describe.

701






Is a class a subclass of itself?

590


Explain phantom read?

1741


why static class in java

1277


What are various types of class loaders used by jvm?

496


What is mdb and what is the special feature of that?

568


Is “abc” a primitive value?

618


What is a class loader?

591


What is the difference between RMI and Corba?

2262


What are the different class loaders used by jvm?

603


Difference between new operator and class.forname().newinstance()?

602