Java Bank Client


This is a Java version of the Dylan bank demo client to show how the two languages interoperate.

The client program is composed of the following parts:

AccountManager.java
Java client GUI and CORBA initialization
AccountDialog.java
subsidiary prompt dialog for Java client
AccountLogo.java
subsidiary animated graphic logo
README.htm
this file

See the README accompanying the Dylan version of this demo for Dylan server configuration information.


Java Requirements

JDK

This demo has been tested with JDK 1.1.6.

Java ORB

This demo has been tested with OrbixWeb 3.0 Pro (patch 4).

It also currently requires a NameService.


Building and Testing the Application

The following instructions are written in terms of OrbixWeb 3.0 Pro and JDK 1.1.6. For different versions of the JDK and/or different Java ORBs, adjust the operations accordingly.

First you need to compile the IDL into Java stubs:

	cd <installdir>\examples\corba\bank\java-client
	idl -jc ..\bank\bank.idl

Then you need to compile all the resulting Java.

	set CLASSPATH=.\java_output;e:\program files\iona\orbixweb3.0\classes;e:\program files\jdk1.1.6\lib\classes.zip
	"e:\program files\jdk1.1.6\bin\javac"  -d "e:\program files\iona\orbixweb3.0\classes" AccountManager.java AccountDialog.java AccountLogo.java

Finally you need to load the compiled Java into a JavaVM.

	"e:\program files\jdk1.1.6\bin\java" BankingDemo.AccountManager