CORBA 2.3.3 Getting Started Guide (NonStop CORBA 2.3.7+)
Chapter 8. Running JORB Lite
Prev
Next
Chapter 8. Running JORB Lite
Table of Contents
Building and Running the Stack Example
Building the Stack Example
Running the Stack Example
Calling NonStop CORBA Applications from JORB Lite
Running Clients and Servers on Remote Machines
After you have installed JORB Lite, you can test your system setup by running one of the examples
supplied with the JORB Lite package.
Building and Running the Stack Example
To build and run the JORB Lite Stack example, open two DOS command-prompt windows. In each
window, navigate to the javasamples/stack directory.
The Stack example includes several batch (.BAT) files to help you build and run of the Stack example:
Stack Example Files for JORB Lite
Name Description
make.bat
This file generates the Java Language Mappings files from the stack.idl
interface and builds the client applications and server applications.
runclient.bat
This file runs the client Java progam.
runserver.bat
This file runs the server Java program.
runserverpoa.bat
This file runs the server Java program using a POA server.
In addition to these batch files, the Stack example also uses the file lib\lite.dbm, a text file that
provides the configuration database for the JORB Lite environment.
Building the Stack Example
Follow these steps to build the client and server applications:
Open a DOS command-prompt window, and navigate to the JORB Lite Stack example directory.1.
Run the make.bat file to generate the Stack Java files and build the client and server applications.2.
Modify the lib\lite.dbm file by referring to your host name or IP address and a port number in
the file.
3.