Building the client side BankAccount application

$CICS_HOME/samples/dfjcorb/BankAccount/javaclient contains the CORBA client part of the application. The source of the Java client application is called bankLineModeClient.java. This application should run with any CORBA-compliant ORB.

The following steps are required to build the Java client application:
  1. Download the following files to the client workstation ( in ascii mode):
    • .../dfjcorb/BankAccount/BankAccount.idl
    • .../dfjcorb/BankAccount/javaclient/bankLineModeClient.java
  2. Compile the provided IDL with the client ORB's IDL-to-Java compiler to produce the Java client side stubs required by the sample application. After compiling the IDL to create the sub-directory, bank, move the java file into this sub-directory. Then, this can be compiled from the current directory, as follows:
    javac bank\bankLineModeClient.java
  3. Ensure that the Java classes produced in the previous step are available through the CLASSPATH environment variable.

    You will also need the CosLifeCycle and CosNaming runtime classes. If your client ORB environment does not provide these services ready built then you can obtain them in the same way as in Building the client side HelloWorld application.