RMI stands for “Remote Method Invocation” means communicating the object across the network.
RMI is a one type of structure or system that allows an object running in one Java virtual machine (Client) to invoke methods on an object running in another Java virtual machine (Server).This object is called a Remote Object and such a system is also called RMIDistributed Application.
RMI provides for remote communication between programs written in the JAVA.
General functioning diagram :
The complete RMI system has a FOUR layer,
(1) Application Layer
(2) Proxy Layer
(3) Remote Reference Layer
(4) Transport Layer
Mainly the RMI application contains the THREE components,
(1) RMI Server
(2) RMI Client
(3) RMI Registry