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 are memory considerations of jsp compares to other web components?
What is a clone?
Which characters may be used as the second character of an identifier, but not as the first character of an identifier?
What is scalable, portability in the view of J2EE?
Why is actionform a base class rather than an interface?
Describe, in general, how java's garbage collector works?
Describe responsibilities of Activator?
How primary key is implemented in Oracle?
Do we need to override service() method
Is a class a subclass of itself?
What is an abstract method?
Is “abc” a primitive value?
What is the map interface?
What happens when a thread cannot acquire a lock on an object?