Previous Topic: RMI JobsNext Topic: Session Bean Jobs


Defining RMI Jobs

You can define an RMI (RMI_JOB) job to call a method on a remote server and store the method's output.

Note: To run these jobs, your system requires CA WA Agent for UNIX, Linux, or Windows and CA WA Agent for Application Services.

Required Statements

To define an RMI job, you must specify the following statements:

Optional Statements

You can specify the following optional statements for an RMI job:

Example: Define a Job to Start a Remote Server Immediately

Suppose that you want to invoke a method that starts a remote server using remote object activation. You want the server to start immediately.

AGENT APPAGENT
REMOTECLASSNAME rmi://remotehost/Test
METHOD startserver
PARAMETER TYPE(String) VALUE(now)