RMI - Explain the difference between RPC and RMI

Explain the difference between RPC and RMI.

RMI:

- The remote objects are accessed by the references.
- Implements object to object implementation among different java objects to implement distributed communication model.
- RMI passes the objects as parameters to remote methods.
- RMI invokes the remote methods from the objects.

RPC:

- The process is through methods / functions.
- Proxy server is involved in processing the procedure calls.
- Calls a procedure remotely like invoking the methods.
- The remoteness is not exactly transparent to the client.

Difference between RPC and RMI.

- RPC can be used to invoke functions through a proxy functions.
- RMI can used to invoke methods of an object.
Remote Method Invocation (RMI) and its working
RMI and its working - RMI is a java object equivalent process that invokes a method in a distributed environment.....
RMI - Explain the difference between RMI and JMS
Difference between RMI and JMS - RMI is tightly-coupled mechanism, The destination object need to be available online at the time of sending messages from client to server....
RMI: What is RMI?
RMI - What is RMI?, Explain the advantages and disadvantages of RMI, Explain the architecture of RMI...
Post your comment