README

Setting the environment parameters:

setenv JAVA_HOME /usr/npac/jdk1.1.4
setenv JAVAIDL_HOME /servers/cgi-http-class/htdoc/reference-docs/cwou/3-Tier-JDBC/JavaIDL/JavaIDL

Java IDL compilaier

idltojava -fclient -fserver ClientApp.idl

Compilation:

javac -classpath ${JAVA_HOME}/lib/classes.zip:${CLASSPATH}:${JAVAIDL_HOME}/lib/classes.zip:. *.java ClientApp/*.java

Run:

// Comment: This is done already, there is no need to run it again.
nameserv -ORBInitialPort 8811

// To start the server (remember setup JAVA_HOME and JAVAIDL_HOME)
// The server has been started already
java -classpath ${JAVA_HOME}/lib/classes.zip:${JAVAIDL_HOME}/lib/classes.zip:${CLASSPATH} DBServer -ORBInitialPort 8811

// To start the client applet
use browser to access http://osprey7.npac.syr.edu:3768/arlspring98-docs/v11/JavaIDL

// To play with this example
// 1. Click to connect to the database
// 2. Type in the name (e.g. nancy) ans click
// 3. After playing, click to disconnect