answersLogoWhite

0

Difference Between RPC and RMI

Updated: 12/14/2022
User Avatar

Wiki User

10y ago

Best Answer

The only real difference between RPC and RMI is that there is objects involved in RMI: instead of invoking functions through a proxy function, we invoke methods through a proxy.

What this means in practice is that we now want the client to hold references to remote objects that it can invoke methods on. These references should behave just like local objects, but when invoked dispatch the method invocation to the remote object.

Because we need to refer to both an object and a method now - not just a function - we extend the protocol so it first sends an object id across the socket, then the method and then the arguments. The server then dispatches the method to the remote object based on id and method name.-Rituparno Ganguly

User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Difference Between RPC and RMI
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are the difference and similarities between RMI and RPC?

RMI or Remote Method Invokation is very similar to RPC or Remote Proceedure call in that the client both send proxy objects (or stubs) to the server however the subtle difference is that client side RPC invokes FUNCTIONS through the proxy function and RMI invokes METHODS through the proxy function. RMI is considered slightly superior as it is an object-oriented version of RPC.


What is the difference between RMI and RPC?

RMI simply offers remote access to an object running in another process. But EJB offers far more services than RMI. EJB leverages this remote-object feature of RMI, but also provides other services such as persistence, transaction management, security, and resource management. The EJB server provides all of these complex services which allows EJB developers to worry about business logic instead. For a complete understanding of EJB i suggest Http://edocs.bea.com/wle/rmi/sampejb.htm


What is the difference between RMI remote procedure call?

I think the difference is that RMI uses AAAAAA and the procedure uses BBBB


Difference between RPC model and client-server model?

ponka le lo... school mie kuch nae parhty kiya :@


What does RPC mean?

What does rpc mean after a artist signature an rpc means an original character dont now why its rpc and not orc


What is remote method invocation in distributed systems?

RMI stands for Remote Method Invocation. It is a mechansim that allows objects located in different computers in a network to interact. It is usually used in Java. It is quite similar to RPC(Remote Procedural Call).


Is RMI platform independent?

rmi is a protocol not plateform independent


When was RMI Corporation created?

RMI Corporation was created in 2002.


When was RPC Group created?

RPC Group was created in 1991.


When was RPC Fort created?

RPC Fort was created in 1991.


What is the population of RPC Group?

The population of RPC Group is 6,000.


What is full form of rpc in icici bank?

RPC stands for Regional Processing Center.