Chapter 16 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 NT) 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, Jaguar supplies an application programming interface that contains classes and methods that you can use to perform Jaguar-specific tasks. You can use the Jaguar 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 install the component's dynamic link library (DLL) or shared library on a Jaguar server. Once the DLL or shared library is installed on a Jaguar server, a client can execute the component's methods in the DLL or shared library. Throughout the rest of this chapter, a C++ component is referred to as a component.
Detailed information for creating components is in these sections:
Copyright © 2000 Sybase, Inc. All rights reserved. |