# JCnfDemo overview

The JCnfDemo demonstration program is the multi-platform Java version that demonstrates building conferences and connecting users to conferences through a graphical user interface.

JCnfDemo includes a small module for receiving calls, prompting a vocal welcome message, and managing commands from the user (through DTMF).

JCnfDemo uses Natural Call Control (NCC) for the trunk interface, Switching (SWI) to connect a caller to a channel, and NaturalConference (CNF) for the conferencing features.

For each Natural Access service that is used, JCnfDemo uses the jninmss package that wraps the Natural Access API.

## System requirements

JCnfDemo can be used on AG and CG boards and is available under the following operating systems:

Operating system | Java version
--- | ---
Windows | Java version 1.3.0_01 or higher
UNIX | Java 2 Runtime Environment

The Java 2 Runtime Environment can be found at http://www.sun.com/j2se/1.3.

The following board configurations support JCnfDemo:

- Two separate boards connected through an H.100 link or an MVIP link. The first board could be a trunk interface board using ADIMGR for call control. The second board could be a dedicated board for conferencing. The trunk interface board must support NCC.

- One board for both conferencing and trunk resources.

## Installed files

The JCnfDemo program is installed in the nms\cnf\javademo directory. The following tables list the JCnfDemo components:

Component | Description
--- | ---
JCnfDemo.jar | Contains all of the graphics and Jni class files to run the JCnfDemo.
A configuration file: JcnfDemo.ini under Windows .jcnfdemorc under UNIX | This configuration file is located in the home/nmss_demo_java/ directory and will be created at the first use of JCnfDemo if it does not already exist.
images | Directory containing all of the graphic files used by JCnfDemo (logo, tree icons, check boxes, member representation). This directory is placed in the current directory.
Prompt | Directory containing the welcome.pcm sound file.
src/cnfdemo | Directory containing the Java source for the graphical user interface.
src/jninmss | Directory containing the Java source for the Natural Access interface.

The following library is also installed:

Windows | UNIX | Description
--- | --- | ---
jninmss.dll | libjninmss.so | Dynamic library used to interface the Natural Access services through the Java Native Interface (JNI).