Chapter 17 Creating CORBA C++ Clients


Procedure for creating CORBA C++ clients

To create a CORBA C++ client, you write and compile a C++ program that establishes a connection and session with the Jaguar ORB, that instantiates a proxy object for the component, and that calls methods in the proxy object. You use Jaguar Manager to define the component methods and generate stubs for the components. When the client calls the methods in the proxy objects, the proxy object methods communicate across the network and execute the corresponding methods in the components.

To create CORBA Jaguar C++ clients:

  1. Use Jaguar Manager to generate stubs (C++ header files). See "Generating stubs".
  2. Write the C++ source files and include the stubs you created with Jaguar Manager. See "Writing CORBA C++ clients".
  3. Compile the C++ source files. See "Compiling C++ clients" for Jaguar-specific requirements for compiling Jaguar C++ clients. To learn how to compile your C++ client into an executable in your development environment, see the development environment's documentation.

 


Copyright © 2000 Sybase, Inc. All rights reserved.