Demonstration programs

The /demo directory contains subdirectories, each of which contains a demonstration program and a README file that documents how the demonstration program must be used.

Table 3: Demonstration programs available in NSJ 11

Demonstration Program

Description

/demo/emslogging

How to write to EmsLogger. Contains source and Makefile to build demo program that will log to EmsLogger.

/demo/invocation_api

How to properly build an executable that can create its own Java virtual machine (JVM). Contains source and Makefile to create invocation API demo.

/demo/nsjjni

How to create a native library. Contains source and Makefile to create nsjjni demo.

Many of the demonstration programs require you to edit some files before the demonstration programs can be run, as described in the README file.

Additional demonstration programs are provided if you install a JDBC Driver for NonStop SQL product. These programs can be found with the driver software.