Posts

Showing posts with the label RMI registry

Basic Understanding of RMI : JaVa - is not MaVa

Image
The Remote Method Invocation(RMI) is an API that provides a mechanism to create distributed application in Java. RMI allows a Java object to invoke method on an object running on another machine. RMI provides remote communication between java programs. ---Watch the Video to understand "Why we need RMI ?"---- Concept of RMI application A RMI application can be divided into two parts, 1.  Client   program 2.  Server  program. A  Server  program creates some remote object, make their references available for the client to invoke method on it. A  Client  program make request for remote objects on server and invoke method on them.  Stub  and  Skeleton  are two important objects used for communication with remote object. Stub and Skeleton Stub  acts as a gateway for Client program. It resides on Client side and communicates with  Skeleton  object. It establ...