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 chat area? Explain.
What is a session? Can you share a session object between different theads?
Name three component subclasses that support painting?
What must a class do to implement an interface?
Where we can write Rmi registry in the code, without having to write it at the command prompt?
int x=5,i=1,y=0; while(i<=5) { y=x++ + ++x; i=i+2; } System.out.println(x); System.out.println(y); System.out.println(i); How to solve this? Please explain!
Whats new with the stop(), suspend() and resume() methods in jdk 1.2?
What is ioc concept & explain it?
What is the purpose of the wait() method?
Which characters may be used as the second character of an identifier, but not as the first character of an identifier?
What is the infobus?
Explain how will the struts know which action class to call when you submit a form?
Do you think that java should have had pointers?
What are the diff types of exception?
Why does the tag url-encode javascript and mailto links?