Steps for Creating an RMI Program

The RMI module generates most of the source code you need for RMI client and server programs. The steps you follow to create RMI programs are outlined below:

  1. Obtain or write a remote interface that defines the interfaces for your RMI programs. If you use an implementation file template to generate server-side code, you can write your remote interface and generate program files based on the interface.
  2. Decide which Java source files you need generated: client-side, server-side, or both.
  3. Select an RMI template to generate the files.
  4. Add the code that completes the generated files:
  5. Compile the package. On the server side this includes the remote interface.
  6. Run and test your programs.
See also
Required Files for RMI Programs
RMI Technology

Legal Notices