Chapter 14 Creating CORBA C++ Components
This section contains an overview of the steps involved in creating C++ components; the remainder of this chapter includes detailed information for each step. You use Jaguar Manager to define basic information (such as the component name and methods) about a C++ component, and generate files that are required to write the component's class implementation and to compile the class into a dynamic link library (on Windows) or shared library (on UNIX).
You write your component as a C++ class; the generated files include a class implementation template in which you can write your method logic. In addition, EAServer supplies an application programming interface that contains classes and methods that you can use to perform EAServer-specific tasks. You can use the EAServer API to write code to handle errors, cache connections to third-tier database servers, return result sets, manage transactions, share data between instances of the same component, retrieve a client's SSL certificate information, and make intercomponent calls.
After writing the method logic in the class implementation template, you compile the component to build a dynamic link library (DLL) or shared library, then deploy the librar to your EAServer installation.
Detailed information for creating components is in these sections:
Copyright © 2002 Sybase, Inc. All rights reserved. |
![]() |