Summary
Implementations of the PROXY pattern establish a placeholder object that manages access to a target object. A proxy object can isolate clients from shifts in state of a desired object, as when loading an image endures a discernible duration. The problem with PROXY is that by its nature, it relies on a tight coupling between the placeholder and the proxied object.
Nowhere is this coupling more justified than in remote computing. Here, the PROXY pattern represents the ideal form of intercomputer communication. Rather than relying on another protocol, distributed computing schemes, such as RMI, establish communication with remote objects as normal-looking method calls. This lets a client communicate with a remote object through a proxy as ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access