JAVA RMI 笔记 第一篇 RMI 浓缩版

RMI

is designed to make communication between two Java programs, running in separate JVMs, as much like making a method call inside a single process as possible.

Stub

is a client-side object that represents a single server object inside the client's JVM. It implements the same methods as the server object, maintains a socket connection to the server object's JVM automatically and is responsible for marshalling and demarshalling data on the client side

[@more@]