Pathway/iTS Web Client Programming Manual (G06.24+)

How to Compile, Build, and Maintain a Pathway/iTS
Web Client
Compaq NonStop Pathway/iTS Web Client Programming Manual520270-001
2-9
Build (Compile) the Application in a Windows
Environment
Build (Compile) the Application in a Windows Environment
Once the Java files are transferred to a Windows environment, you can use the Java
compiler available on the machine to compile the Java source.
A typical Java compilation on a Windows environment is as follows:
DOS> javac *.java 2> error.txt
This compiles all Java files in the current directory and creates one or more class files.
Compilation errors are stored in the error.txt file.
7. Deploy the Web Client
You are now ready to deploy and test the converted application on the web server. Two
parameters are needed for deployment:
The location (under the specified web root) where the files are to be published
The TCP/IP port number of the router process
Deploy the Web Client on an OSS Environment
Transfer the application files to the web server
If you built the client on a Windows platform, you must first transfer the application
files to the web server on the NonStop Himalaya and then deploy the client. If you built
the client on a NonStop Himalaya, you can skip the file transfer step and deploy the
client immediately.
Use the make file to deploy it on the web server by issuing the following command from
the OSS prompt:
make -f makefile-name DEPLOY = path-name publish
makefile-name
is the name of the make file generated by JMAKENV
path-name
is the relative pathname (under web-root) from which the web pages are served.
To deploy the sample application, execute the make file with the following command:
make -f invymk.mk DEPLOY=testapp publish
Executing this make file does the following:
Copies all the HTML files from the /usr/test/inventory/bin directory to
the usr/webserver/root/testapp directory, where
/usr/webserver/root is obtained from the WEBROOT variable in the make
file .