To use the Java language environment, you must configure Net.Data. Use the following steps to complete these configuration steps:
java -classpath %CLASSPATH%;C:\DB2WWW\Javaclas dtw_samp %1 %2 %3 %4 %5 %6
CLIETTE DTW_JAVAPPS{
MIN_PROCESS=1 <= Required: this value must be 1 because
the JAVAPPS cliette is multi-threaded.
MAX_PROCESS=1 <= Required: this value must be 1 because
the JAVAPPS cliette is multi-threaded.
START_PRIVATE_PORT=5100 <= Must be a unique port number
START_PUBLIC_PORT=5300 <= Must be a unique port number
EXEC_NAME=launchjv.bat <= The name of the batch file that includes the
classpath statements
}
When you start the Net.Data Connection Manager, Net.Data starts the Java cliette specified in the configuration file. The cliette becomes available to process Java language environment requests from your Net.Data macro applications.
ENVIRONMENT DTW_JAVAPPS ( OUT RETURN_CODE ) CLIETTE "DTW_JAVAPPS"