What is RMI?

Luigi Viggiano

RMI stands for Remote Method Invocation and is a Network Layer to let a client application to invoke methods of objects located on a remote server.

The word "RMI" is not specific to the Java language: the RMI concept is not recent and has been implemented in many other languages. RMI can be considered the object orientation counterpart of Remote Procedure Call (RPC).

Speaking in a Java context we should specify Java RMI is a protocol that enables a remote object to be used just as it would on a local machine.