Generating, Programming, and Compiling RMI Files

You can generate the files using the RMI templates. You must first decide which Java source files you want to generate: client-side, server-side, or both. When generating server-side files, you also need to decide whether you want to create a remote interface or an implementation is will be based on either a new or existing remote interface. For information on generating client-side and server-side files, see:

Required Files for RMI Programs
RMI Templates
Generating a Client-side File
Generating a Server-side File (Remote Interface)
Generating a Server-side File (Implementation)

After generating the files, you must add code to complete the files. The last step in completing the files is to compile the files. For more information on adding code and compiling RMI files, see:

Adding Code to a Client-side File
Compiling and Running a Client-side File
Adding Code to a Server-side File
Compiling a Server File

Legal Notice