![]() ![]() It also provides a mechanism to implement a distributed system. RMI lets us invoke methods on remote objects, passing real Java objects as arguments and getting real Java objects as returned values. It lets us get a reference to an object on a remote host and use it as if it were in our own virtual machine. How do we depict them, using RMI?Īn RMI or Remote Method Invocation is an API that allows an object to invoke another object that exists on another machine (JVM). The client requests a query and the server responds with an answer. Basically, this is a client-server program. What if they are on different machines? Say like, the function to compute the addition is on one machine and the function asking to compute the addition is on another machine.
0 Comments
Leave a Reply. |