utilities
Class VRunJavaApplication
java.lang.Object
|
+--utilities.VRunJavaApplication
- public class VRunJavaApplication
- extends java.lang.Object
VRunJavaApplication demonstrates the use of the Toolbox
com.ibm.as400.vaccess.VJavaApplicationCall component.
The component (VJavaApplicationCall) does processing necessary to
call a Java program on the server but it is not a complete
application. This class is a complete application. It does
setup work such as parsing command line parameters and
creating a swing frame, then uses VJavaApplicationCall
to call the Java program.
VRunJavaApplication has three parameters command line parameters. All
parameters are optional. The parameters are:
System - the server that contains the Java program
UserID - run the Java program under this userid
Password - the password for the userid
For example, to run Java programs on server "mySystem":
java utilities.VRunJavaApplication mySystem
See the javadoc for Toolbox class VJavaApplicationCall and
JavaApplicationCall for a list of commands to run once
the program is started.
Method Summary |
static void |
main(java.lang.String[] args)
Starts the utility. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VRunJavaApplication
public VRunJavaApplication()
main
public static void main(java.lang.String[] args)
- Starts the utility.
- Parameters:
arg
- Command line arguments. See the prolog of this
class for information on the command line parameters.