What is the difference between RPC and RMI? - ProProfs Discuss
Advertisement

What is the difference between RPC and RMI?

Asked by Jasmijn , Last updated: Apr 11, 2024

+ Answer
Request
Question menu
Vote up Vote down

1 Answer

A. Cook

A. Cook

Find happiness in writing new things.

A. Cook
A. Cook, English Professor, M.A, Ph.D, Kentucky

Answered May 29, 2020

RPC means Remote Procedure Call, while RMI stands for Remote Method Invocation. They are mechanisms that help a user to call or invoke processes that will run on another system from the user's system. A major difference between the two is in the paradigm used or approach invoked.

The RMI works in such a way that it makes use of an object oriented paradigm where the user makes studies and invokes the right object and method. On the other hand, RPC works in such a way that it calls particular subroutines that are established already.

The RPC protocol seems to be an old one that is based on C language, hence inheriting its paradigm. The RPC usually passes a procedure call which looks similar to that of a local call. Whereas, the RMI makes use of the Java virtual machine. It passes a reference to the specific object as well as the method that is being called.

upvote downvote
Reply 

Advertisement
Advertisement
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader

Email Sent
We have sent an email to your address "" with instructions to reset your password.