Introduction
Remote Method Invocation (RMI) is Java’s implementation of object-to-object communication among Java objects to realize a distributed computing model.
RMI allows us to distribute our objects on various machines, and invoke methods on the objects located on remote sites.