Run the jaguar-compiler command on the CORBA package to generate the C++ files that you need to compile into a DLL or UNIX shared library as well as a class implementation template in which to write method logic.
You can run the jaguar-compiler command several ways:
From the Management Console as described in “Refreshing CORBA packages in the Management Console”.
Using a configuration script, as described in “Managing CORBA packages with configuration scripts”.
Using the jaguar-compiler command-line tool, as described in Chapter 12, “Command Line Tools,” in the System Administration Guide.
The generated files include sample implementation templates for the component implementation.
The generated C++ files include:
Method skeletons file – Contains method routines that read the parameters from the network and call the method. The method skeletons also send the return status and output parameter data back to the client.
Class header file – Contains the method declarations only. This file is an included file in the method skeletons file and the class implementation template.
Class implementation template – Contains the class, method, and parameter declarations, as well as empty method definitions. You enter any business logic into the empty method definitions.
Stub interface files – Contain the interface definition for all components in a package, as well as definitions for user-defined types and exceptions used in your component’s interface.
UNIX makefile – You use a makefile to compile the C++ source files into a UNIX shared library.
Windows makefile and Microsoft Visual C++ module definition file – You use the makefile and a module definition file to compile the C++ source files into a DLL.