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 difference between the ‘font’ and ‘fontmetrics’ class?
What is the difference between ear, jar and war file?
Is “abc” a primitive value?
Difference between swing and awt?
Where can I find seam examples and documentation?
What is a tasks priority and how is it used in scheduling?
AS a developer will u create a data source in connection pool? If so how will u do that, how to access the object from connection pool using IRAD tool?
What do you know about seam?
Why use a datasource when you can directly specify a connection details? (in a J2EE application)
How task's priority is used in scheduling?
Are there books about seam?
whats is mean by connectionpooling
What are the sequence of steps to write pub or sub model kind of application?
What classes of exceptions may be caught by a catch clause?
What modifiers may be used with an inner class that is a member of an outer class?