Skip Headers
Oracle® Fusion Middleware Programming Stand-alone Clients for Oracle WebLogic Server
12c Release 1 (12.1.1)

Part Number E24378-05
Go to Documentation Home
Home
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

12 Developing a WebLogic C++ Client for a Tuxedo ORB

This chapter describes how a WebLogic C++ client uses the Tuxedo 8.1 or higher C++ Client ORB to generate IIOP requests for EJBs running on WebLogic Server. This client supports object-by-value and the CORBA Interoperable Naming Service (INS). The following sections provides information on developing WebLogic C++ clients for the Tuxedo ORB:

WebLogic C++ Client Advantages and Limitations

A WebLogic C++ client offers these advantages:

The WebLogic C++ client has the following limitations:

How the WebLogic C++ Client Works

The WebLogic C++ client processes requests as follows:

The client uses the CORBA Interoperable Name Service (INS) to look up the EJB object bound to the JNDI naming service. For more information on how to use the Interoperable Naming Service to get object references to initial objects such as NameService, see "Interoperable Naming Service Bootstrapping Mechanism" in CORBA Programming Reference for Oracle Tuxedo 8.0 at http://www.oracle.com/technetwork/middleware/tuxedo/overview/index.html.

Example 12-1 WebLogic C++ Client to WebLogic Server Interoperability

Description of c_plusplus.gif follows
Description of the illustration c_plusplus.gif

Developing WebLogic C++ Clients

Use the following steps to develop a C++ client:

  1. Use the ejbc compiler with the -idl option to compile the EJB with which your C++ client will interoperate. This action generates an IDL script for the EJB.

  2. Use the C++ IDL compiler to compile the IDL script and generate the CORBA client stubs, server skeletons, and header files. For information on the use of the C++ IDL Compiler, see "OMG IDL Syntax and the C++ IDL Compiler" in CORBA Programming Reference for Oracle Tuxedo 8.0 at http://www.oracle.com/technetwork/middleware/tuxedo/overview/index.html.

  3. Discard the server skeletons; the EJB represents the server side implementation.

  4. Create a C++ client that implements an EJB as a CORBA object. For general information on how to create CORBA client applications, see Creating CORBA Client Applications for Oracle Tuxedo 8.0 at http://www.oracle.com/technetwork/middleware/tuxedo/overview/index.html.

  5. Use the Tuxedo buildobjclient command to build the client.