Java Remote Method Invocation ("RMI")

COMP 310    Java Resources  Eclipse Resources

Remote method invocation is a a Proxy Design Pattern architecture that enables a client application to invoke services that are performed on a remote service provider machine by simply calling methods on a local object, a "proxy" object. The proxy object, or "RMI stub" has the same methods as the remote service-providing "RMI Server" object but instead of performing the processing itself, the proxy (stub) simply forwards its method calls across the network to the RMI Server object who performs any necessary processing and returns any required results, which the stub passes back to the client.

RMI enables the invocation of remote processing in a manner all but equivalent to invoking the processes locally.





© 2020 by Stephen Wong