Problem: How to access a distributed object on the network as if the object
was on the same computer?
Solution: Remote Proxy Pattern
Outline: The Proxy Pattern provides for external service by a proxy, or substitute,
object. The Remote Proxy Pattern uses a Proxy with the same look-and-feel as a RealSubject located
somewhere on the network. Both the Proxy and the RealSubject implement the same interface so as
to have the same look-and-feel. A call to op1() on the Proxy results in a call to op1() across
the network to the RealSubject.
Java's Remote Method Invocation (RMI) is the Remote Proxy Pattern
The Proxy is called a ``stub''
The RealSubject has a ``skeleton'' that talks across the network to the stub
SEE CASE STUDY