next up previous contents
Next: RMI 2.2: Skeleton Up: Java Notes Previous: RMI 2: Stubs &

RMI 2.1: Stubs method call

Stub method call
1.
initiates the connection to remote VM containing the remote object
2.
marshals (write & transmit) the parameters to the remote objet
3.
waits for the result of the method invocation
4.
unmarshals (read) the return value or exception returned
5.
returns the value to the caller
Serialization of parameters and network-level communication hidden



Ananda Amatya
9/15/1999