Difference Between RPC and RMI

NetworkOperating SystemSafe & Security

In this post, we will understand the difference between RPC and RMI −

RPC (Remote Procedure Call)

  • It is a library.

  • It is an OS dependent platform.

  • It supports procedural programming.

  • It is less efficient in comparison to RMI.

  • It creates more overhead.

  • The parameters passed to RPC is normal data.

  • It is the older version of RMI.

  • It is easy to program in RPC.

  • It doesn’t provide any security.

  • The cost of development is high.

  • Versioning is a complicated process in RPC.

  • Multiple codes will be needed to build a simple application in RPC.

RMI (Remote Method Invocation)

  • It is a platform based on Java.

  • It supports object-oriented programming.

  • It is more efficient in comparison to RPC.

  • It creates less overhead in comparison to RPC.

  • In this, objects are passed as parameters.

  • It is the successor of RPC.

  • It is not easy to program in RMI.

  • It provides client level security.

  • The cost of development is inexpensive.

  • Versioning is possible using RDMI.

  • Multiple codes are not required to build a simple application in RMI.

raja
Published on 16-Apr-2021 07:47:05
Advertisements