Acting as a RMI Server

The RMI Server process starter registers the specified object name with the specified registry server. Then, requests from RMI clients for the object are directed to the RMI Server process starter. A new process instance is created to handle each incoming request.

The RMI Server process starter can output two Java objects, one for the request and one for the reply. Either the request or reply objects can be nil. Optionally, you can also specify an output schema in the Output Editor tab of the RMI Server process starter. This allows you to specify fields that are expected in the request object and the data from the request object is used to populate the desired output schema. You can then process the request based on the specified output schema, and you can also access the actual request object by passing it to a Java Code or Java Method activity.

When the client is expecting a reply, you can use the Java Code or Java Method activities to invoke the appropriate methods on the reply object.

Using the RMI Server process starter illustrates using the RMI Server process starter.

Figure 106: Using the RMI Server process starter