next up previous contents
Next: Parallelizing the Quantum Computing Up: Patterns used Previous: Observer Pattern   Contents

Proxy Pattern

Java's Remote Method Invocation(RMI) enables you to call methods on a proxy object, which forwards the calls to the real object on a remote machine. The Proxy pattern was implemented in this project, simply because the client application needs to get information from an object which runs on a remote machine. This is much more elegant that using Sockets to communicate between remote objects, as a protocol would have to be devised to parse the input and output.



Colm O hEigeartaigh 2003-05-30