RMI Action

RMI Action is like Java Action except that it contacts a remote object, instead of operating on a local one. The remote object must be an RMI object that is bound to an RMI registry. The RMI object must implement the interface flux.RemoteActionListener.

To specify the location of the remote object, you need to set a hostbind name, and port. The scheduler calls this remote object when the RMI Action executes.

The host is the name of computer where the remote object is located. The bind name is the name bound to the RMI registry on the host. Finally, the port is the TCP/IP port number that the RMI registry is bound. Normally, the port need not be set, since the default value is appropriate in most cases.

For example:

rmiAction.setHost("somehost.mycompany.com");
 
rmiAction.setBindName("MyRemoteObject");
Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.