What is remote method invocation?
Remote method invocation (RMI), is a mechanism for invoking an object’s methods, even though the object is executing on a foreign Java Virtual Machine (JVM). RMI is similar to remote procedure calls (RPCs), but has an added advantage – method signatures can contain Java objects as well as primitive data types. Even objects that a foreign JVM has never encountered before can be used, so new tasks and methods can be passed across a network.
Related Questions
- Why does my application sometimes receive a NativeSeqFile error when using JRIO and the Remote Method Invocation (RMI) - Java Remote Method Protocol (JRMP) to access MVS datasets?
- Does the Java platform replace all remote objects with their stubs during a remote method invocation?
- Where can I learn (more) about Java RMI (Remote Method Invocation)?