Deploying an Application on the Network Station

Once you have tested your application in the IDE, you are ready to deploy your program as a stand-alone application on the Network Station.

Development Considerations
One addition you may need for your developed code is to add System.exit(0) to the windowClosed() method of the application class. Not having an explicit System.exit(0) statement may mean that a Java application may not terminate completely.  Since the Network Station only allows a single Java application to run, this may prevent you from running another application without logging off and back on.

Deploy Your Code
When deploying your client program as a stand-alone application, deploy your code to a directory on the Network Station Manager machine. This directory must be in the list in the TFTP configuration utility to ensure that the Network Station can get the code as it is required.

Configure the Network Station Manager
The application can be configured as a default for all users or for specific users. It can also be configured to run as an Autostart application or as an application on the menubar. If you configure it as an Autostart application, it will be run whenever the user it is configured for logs on to the Network Station.

In either configuration case, the application or class name is specified in the Network Station Manager administration utility with the full package and class name. Arguments can be supplied and the classpath needs to be specified. The classpath may not accept Zip or JAR files and may also require that the class paths be separated by colons (:). If Zip and JAR files are not supported, unzip the JAR and Zip files that you need from the eab\runtime directory in your VisualAge for Java installation.  Ensure that they are in a directory that is in the TFTP list for the Network Manager.

Running the Application
If the application is configured as Autostart then it will run as soon as you log on to the Network Station. If it is configured as a menu item then launch it from the menubar. To see any problems with loading classes or output from the program, open the Console window by typing Shift+Alt+Home.

You may run only one application at a time.

ngrelc.gif (533 bytes)
VisualAge for Java for the Network Station


Deploying an Applet on the Network Station