RMI Wizard Java Interface Settings
To select settings for the Java Interface of the RMI Wizard, follow these steps:
1. Select SST>RMI Wizard Java Interface Settings from the menu bar in the System Transcript window.
2. Select either the JavaTypeRepository, exposed through RMI, or from VisualAge for Java running the servlet interface for the RMI wizard.
a. Select Use the RMI type repository interface to use the JavaTypeRepository. Type either the hostname or the dotted address of your rmiregistry for the server name. The default port number for an rmiregistry is 1099.
Note: If you choose this interface, you will not be able to browse for Java types.
b. Select Use VisualAge for Java interface to use the VisualAge for Java servlet interface. You must have VisualAge for Java installed and running on this machine in order to use this interface. Choose the port number you specified when you started the Remote Access to Tool API. See Setting up the VisualAge for Java Remote Access Tool to API and tool servlet interface for more information on the Java interface settings.
c. Choose Test Connection to test the connection to the interface.
d. Click OK.
 
Note:
The RMI Wizard adds the following instance methods to all mapped classes:
sstRmiClassName --
Answers the Java class name the receiver is mapped to.
sstIsRmiSerializable --
Answers true if the receiver is serializable (passed by value).
sstIsRmiRemotable --
Answers true if the receiver is remotable (passed by reference).
The above methods, along with the class mapping definitions (added to the application class), are used by SST to enable instances of the class for use with RMI. There may be some cases where you want to enable the class itself (versus instances of the class) for use with RMI. For example, you might want to have a Java client send messages to a Smalltalk class. If this is the case, you'll need to add the above methods as class methods.
Last modified date: 01/29/2015