Java RMI is a mechanism that allows one to invoke a method on an object that exists in another JVM. The other JVM could be running on the same machine or a different machine. The RMI is basically an object-oriented Remote Procedure Call(RPC) mechanism.
The primary goal for the RMI designers was to allow programmers to develop distributed Java programs with the same syntax and semantics used to non-distributed programs.
RMI applications are often comprised of two separate programs: a server and a client
A typical server application creates some remote objects, make references to them accessible, and waits for clients to invoke methods on these remote objects.
A typical client application gets a remote reference to one or more remote objects in the server and then invokes methods on them
No comments:
Post a Comment