Connecting a client to the Network Server with the SimpleNetworkClientSample program The SimpleNetworkClientSample program is a client program that interacts with the Network Server from another JVM. SimpleNetworkClientSample program

The program performs the following tasks:

  1. Obtains a client connection by using the DriverManager.
  2. Obtains a client connection by using a DataSource.
  3. Tests the database connections by running a sample query.
  4. Closes the connections and then exits the program.

To run the sample program, use the following files in the %%\demo\nserverdemo\ directory: