Generating a Server-side File (Implementation)

You can generate a server-side file that contains an implemenation based on a new or existing remote interface using the RMI templates.

To generate a server-side file:

  1. From the main window, choose File and choose New.
  2. In the New Wizard window, expand the RMI node and select the RMI object you want to create:

    Click Next to continue.

  3. Choose to create either a new remote interface or an existing remote interface:
  4. Click Add to add one or more remote methods to the server file. Use the Edit button to modify a selected method and click the Up and Down buttons as needed to adjust the method hierarchy. Click Next to continue.
  5. Type the name of the implementation file or use the default name provided and click Finish.

    A node for the file appears in the Filesystem tabbed pane. The default name of the implementation class is based on the name of your remote interface, in the form interfaceNameImpl. The IDE declares your implementation class as an implementation of the interface and generates method bodies for methods declared in the interface.

See also
Generating a Server-side File (Remote Interface)
Adding Code to a Server-side File
Compiling a Server-side File
Browsing RMI Registries

Legal Notices