Defining an Action
The action performed allows you to define the process that is started. There are three types of actions that are supported. They are:
- Java Class File - any Java class file that has a constructor may be chosen. The Enterprise Server will attempt to create an instance of this class using the selected constructor and parameters.
- Application or Command - any platform specific application or command may be run using the specified command and parameters.
- JobStream - a job stream is simply a collection of actions to be performed. These can be Java Class files, Applications or commands or even other Job Streams.
Java Class Files
When choosing to start a Java class file you must supply the following:
- Java Class - enter the name of the Java class that the Enterprise Server should create an instance of. You may optionally select it from the pulldown list or using the file picker to locate it. Note that the class should reside in a path that the Enterprise is aware of. This is determined by the classpath parameter used to start the server.
- Constructor - choose the desired constructor from the list of available constructors
- Parameters - for each of the parameters of the constructor supply a matching parameter separated by commas. The Enterprise server will automatically substitute handles for the following system parameters:
JDPSubsystemMgr, JDPJob
Application or Command
When choosing to run a platform dependant application or command you must supply the following:
- Command - enter the fully qualified command or application name to run in the format specific to the platform that JDesignerPro is installed on.
- Parameters - enter and required parameters for this command. The Enterprise server simply concatenates the command and parameters separated by a space and then executes the complete string on the server.
JobStream
When choosing to run a job stream you must supply the following:
- JobStream - Select the job stream to execute. The job stream must first be defined using Job Stream maintenance.