RMI Wizard
You can use the RMI Wizard to assist you in creating a remote object. Open
the wizard by choosing Tools
RMI Wizard.
Selecting a Target Location
- Select a Target Location or provide a package and a directory.
- Click Next to go to the next pane or Finish to complete the wizard.
Creating a Remote Interface
- Specify a name for the remote interface.
- Select a template to use for the remote interface, or None.
- Provide the name of an interface to extend or
click the checkbox to use an existing interface, and supply its name.
- Click Next to continue, or Finish to complete using the wizard.
Adding Remote Methods
- Click the Add button to add remote methods.
- Click Edit to initialize a customizer to edit the remote methods.
- Use the customizer interface to specify methods, method modifiers, method
parameters and exceptions for the remote interface you are adding.
- Click Add Method Parameter to open a dialog box in which you can enter a method parameter's name and type and check Final to indicate that the method parameter is final.
- Click Close to close the customizer.
- You can also remove or re-order methods.
- Click Next to create a remote implementation.
Creating a Remote Implementation
- Specify a name for the remote implementation.
- Specify a template to use for remote implementation. You can choose:
- NONE
- Activatable
- ClearImplementation
- RMI_IIOP
- UnicastRemoteObject
- Click Next to create the remote implementation you have specified and to
obtain a summary of your activity with the RMI wizard.
- Click Finish to complete your use of the Wizard without obtaining a summary.
Understanding the Summary Page
The last panel of the RMI Wizard provides a summary of your activity using
the wizard. It provides the following. You can click Finish to complete your
work with the wizard and to accept the specifications for the remote object.
- Target Location
- Interface Template
- Interface Name
- Implementation Template
- Implementation Name
- New Methods
Legal Notices