CORBA 2.3.3 Programmer's Guide for C++
Define the CORBA object's interface in a CORBA Interface Definition Language (IDL) file.1.
Compile the IDL file using the NonStop CORBA IDL compiler. Compiling the IDL file will generate several files:
A header file to include in client programs that use the CORBA object.●
A client stub source file to be compiled and linked with client programs.●
A header file to include in the server that implements the CORBA object. Note that the server header, in turn,
includes the client header.
●
A server skeleton source file to be compiled and linked with the server program.●
2.
Create the client application:
The client application code uses the CORBA object, so it includes the client header file produced by the IDL
compiler.
●
Compile the client application code, producing an object file.●
Compile the client stub code produced by the IDL compiler, producing an object file.●
Link the two client application files (and any other object, library, or SRL files), to produce a client program.●
3.
Create the server:4.