5 Remote Method Invocation (RMI) Tools and Commands

You use the RMI tools and commands to create applications that interact over the web or with another network.

The following sections describe the RMI tools and commands:

  • rmic: You use the rmic compiler to generate stub and skeleton class files using the Java Remote Method Protocol (JRMP).

  • rmiregistry: You use the rmiregistry command on UNIX-based systems to create and start a remote object registry on the specified port on the current host.

  • rmid: You use the rmid command to start the activation system daemon that enables objects to be registered and activated in a Java Virtual Machine (JVM).

  • serialver: You use the serialver command to return the serialVersionUID for one or more classes in a form suitable for copying into an evolving class.