CORBA 2.3.3 Getting Started Guide (NonStop CORBA 2.3.3+)
Building the Stack Sample
The Stack example comes complete with a "make" script which builds both the client and the server
applications. The script, named "Makefile," performs the required steps to construct the executable
components.
To build the sample:
Log on to the system containing your NonStop JORB setup and go to the directory
javasamples/stack.
1.
Verify that the NonStop DOM etc/env.sh script has been sourced and that the environment
variable JAVA_HOME points to the installation of the NonStop Server for Java.
2.
Run the Makefile make script in the javasamples/stack directory.3.
The make script:
Uses the NonStop CORBA IDL compiler to process the interface contained in stack.idl file●
Builds the server executable by using the NonStop Server for Java compiler to compile its
components
●
Builds the client executable by using the NonStop Server for Java compiler to compile its
components
●
The NonStop CORBA IDL compiler (NSDIDL) takes the stack.idl file as input and produces the
following 12 files:
Stack.java●
StackHelper.java●
StackHolder.java●
StackOperations.java●
StackPOA.java●
_StackStub.java●
StackPackage/STACK_OVERFLOW.java●
StackPackage/STACK_OVERFLOWHelper.java●
StackPackage/STACK_OVERFLOWHolder.java●
StackPackage/STACK_UNDERFLOW.java●
StackPackage/STACK_UNDERFLOWHelper.java●
StackPackage/STACK_UNDERFLOWHolder.java●