Search This Blog

Friday, September 11, 2009

PART-6 RMI remote method invocation

PART-6 remote invocation method

RMI enables the programmer to create distributed Java applications, in which you can invoke methods on Java objects which resides on other Java virtual machines, possibly on different hosts.
A Java program can make a call on a remote object once it obtains a reference to the remote object, by looking up the remote object in the naming service provided by RMI.
RMI uses object serialization to marshal and unmarshal parameters.
this presentation includes
Stub
lives on client
Initializing a call to the remote object
Marshalling arguments to a marshal stream
Unmarshaling the return value from a marshal stream
Skeleton
lives on server
receives requests from stub
talks to true remote object
delivers response to stub
RMI
download

No comments:

Post a Comment