up previous next contents
Next: Java Native Interface (JNI) Up: Day 3: Standard Libraries Previous: JavaBeans   Contents

Remote Method Invocation (RMI)

  • Allows Java programs to call methods on Java objects in different virtual machines, and even different physical machines.
  • An RMI server is a java class that is registered in the JVM.
  • The JVM listens on a dedicated port for RMI requests.
  • RMI clients call the server through a proxy that implements the same interface as the server.
  • The Java SDK contains the rmic compiler to automatically generate the proxy and server code required to make a class an RMI server.


up previous next contents
Next: Java Native Interface (JNI) Up: Day 3: Standard Libraries Previous: JavaBeans   Contents