Table of Contents Previous Next PDF


Oracle Tuxedo CORBA Components

Oracle Tuxedo CORBA Components
The following sections describe the Oracle Tuxedo CORBA components built on the Oracle Tuxedo infrastructure:
Note:
Technical support for third party CORBA Java ORBs should be provided by their respective vendors. Oracle Tuxedo does not provide any technical support or documentation for third party CORBA Java ORBs.
Oracle Tuxedo CORBA Overview
Oracle Tuxedo CORBA provides businesses and organizations that depend on mission-critical applications with the advantages of the CORBA-compliant programming model, combined with the power, robustness, and proven reliability of the Tuxedo transaction processing technology. Oracle Tuxedo CORBA also taps into the existing Tuxedo infrastructure for transaction management, security, message transport, administration and manageability, and XA-compliant database support.
Oracle Tuxedo CORBA combines the ORB model with online transaction processing (OLTP) functions to create a top-of-the-line Object Transaction Monitor (OTM). As shown in the following figure, an OTM is an example of a 3-tier client/server architecture, where the OTM supports the application logic between the GUI front-end and the back-end resource managers. Examples of resource managers are object-oriented databases, relational databases, message queues, legacy applications, and other back-end services.
Figure 3‑1 3-Tier Client/Server Architecture Using an OTM
By breaking the direct connection between the user interface front-end and the resource managers, an OTM controls all the traffic that links hundreds or thousands or even tens of thousands of clients with run-time objects and the back-end resources. An OTM ensures that global (distributed) transactions are completed accurately, provides load balancing, and improves the overall system performance. An OTM also prestarts pools of objects and provides fault-tolerance. More importantly, an OTM makes an application’s server processes independent of the user interface front-end and any resource manager.
Oracle Tuxedo CORBA is an object application server that runs server-side distributed objects. Besides managing an application’s server objects and managing transactions, Oracle Tuxedo CORBA also manages client/server communications.
Object-oriented transactional communications use a highly augmented version of ORB invocations. However, most of the value-added elements are transparent to the programmer: The transactional client/server exchanges look like ordinary exchanges bracketed by start and end transaction calls. The distinguishing factor is that all resource managers and processes invoked through these calls become part of the transaction. An OTM, such as Oracle Tuxedo CORBA, orchestrates the actions of all the participants and makes them act as part of a transaction.
Oracle Tuxedo CORBA TP Framework
The Oracle Tuxedo CORBA OTM provides a TP framework, or organized environment, for running server-side distributed objects. A TP framework not only calls the objects and the Tuxedo CORBA services at the appropriate time and in the correct sequence, but it also simplifies the server-side programming model.
Oracle Tuxedo CORBA Architecture
Oracle Tuxedo CORBA consists of the following main components:
Provides the services needed to run and administer a distributed CORBA application.
Allows Tuxedo CORBA client and server objects to locate and communicate with one another.
Allows Tuxedo CORBA clients to reside on intelligent workstations and communicate over a network connection with a CORBA server application.
Provides a set of objects for helping Tuxedo CORBA clients and servers work with the Tuxedo CORBA environment.
Provides object services to Tuxedo CORBA clients.
Provides a programming model for the rapid construction of Tuxedo CORBA server applications.
Oracle Tuxedo OTM and Infrastructure
The Oracle Tuxedo infrastructure provides the bedrock client/server architecture for both Oracle Tuxedo CORBA and Oracle Tuxedo ATMI. The OTM and infrastructure discussed here and illustrated in the following figure constitute the Oracle Tuxedo CORBA environment, which provides the communication interfaces, transaction support, and application-processing and administrative services for a distributed CORBA application.
Figure 3‑2 Oracle Tuxedo CORBA Environment
System Management Interface
The Oracle Tuxedo system management interface, common to both Oracle Tuxedo CORBA and Oracle Tuxedo ATMI, can accommodate tools for both application development and administration. For information about the Oracle Tuxedo system management interface, see “System Management Interface” on page 2‑6.
Application Programming Interface
The Oracle Tuxedo CORBA programming interface consists of a C++ server ORB and a C++ client ORB. On the server side, instead of using the CORBA API directly, application programmers use an API that automates many of the functions required in a standard CORBA application.
The Oracle Tuxedo CORBA server-side TP Framework component and client-side environmental objects enable programmers to use the deployment environment with a minimal amount of programming. For information about the TP Framework component, see “Oracle Tuxedo TP Framework” on page 3‑11. For information about client-side environmental objects, see “Oracle Tuxedo CORBA Environmental Objects” on page 3‑9.
Application Programming Environment
Application programmers develop a Tuxedo CORBA application as a set of CORBA objects, using the OMG Interface Definition Language (IDL) and, optionally, using standard, off-the-shelf programming tools. These objects communicate with other objects using the CORBA Internet Inter-ORB Protocol (IIOP). The following figure identifies the architectural components of the Oracle Tuxedo CORBA programming environment.
Figure 3‑3 Components in an Oracle Tuxedo CORBA Application
Oracle Tuxedo CORBA runs the objects in the server processes that it manages. Oracle Tuxedo CORBA can also manage server processes that run Tuxedo ATMI services, thereby allowing programmers to combine object-based and service-based components in the same Tuxedo application.
Note:
A Tuxedo application has the same meaning as a Tuxedo domain. For a definition of a Tuxedo domain, see “Important Oracle Tuxedo Terms and Concepts” on page 2‑1.
Oracle Tuxedo ORB Software
The ORB, or Object Request Broker, is a library that enables clients to locate and communicate with servers independently of server location and network connections. The ORB is sometimes referred to as the object bus.
Programmers define their object’s interface via OMG IDL, and the ORB takes care of the rest. The ORB serves as an intermediary for requests that CORBA clients send to CORBA server applications, so that the client and server do not need to contain information about each other. The following figure shows the relationship between an ORB, a CORBA application client, and a CORBA server application.
Figure 3‑4 The ORB in a CORBA Client/Server Environment
Oracle Tuxedo CORBA includes C++ server ORB and C++ client ORB. The ORBs have built-in transaction support, meaning that the CORBA Object Transaction Service (OTS), on which a CORBA OTM is based, is patterned after the XA standard for two-phase commit processing.
The C++ server ORB is linked directly into the Tuxedo CORBA server processes. Other client ORBs can communicate with Oracle Tuxedo CORBA via CORBA’s IIOP protocol.
Oracle Tuxedo IIOP Listener/Handler
The Oracle Tuxedo IIOP Listener/Handler allows a CORBA client residing on a remote machine that does not have a full Oracle Tuxedo server-side installation (that is, a machine that does not support Oracle Tuxedo administration servers or a bulletin board) to be able to communicate with an Oracle Tuxedo CORBA server application. All communication between a remote CORBA client and the CORBA server application takes place over a network connection using the IIOP protocol.
Advantages of remote CORBA clients include:
Greater security—keeps clients off the Oracle Tuxedo server machines
IIOP Listener/Handler Communication
The IIOP Listener/Handler communication architecture involves the following software processes:
A client process that runs on a machine on which the Oracle Tuxedo CORBA C++ client ORB software is installed.
An Oracle Tuxedo listening process, running on an Oracle Tuxedo server machine, that accepts connection requests from CORBA clients and assigns connections to an IIOP Handler also running on the server machine. It balances client connections across handlers. In addition, an IIOP Listener manages the pool of IIOP Handler processes, starting them in response to load demands.
An Oracle Tuxedo gateway process, running on the Oracle Tuxedo server machine, that handles IIOP communications between CORBA clients and the Oracle Tuxedo server application. An ISH process resides within the administrative domain of the application and is registered in the local Oracle Tuxedo bulletin board as a client.
Each ISH process can manage multiple CORBA clients. An ISH multiplexes all requests and replies with a particular CORBA client over a single connection.
IIOP Listener/Handler Documentation
For more information about the IIOP Listener/Handler, see the following documents:
ISL(1)in Oracle Tuxedo Command Reference
Oracle Tuxedo CORBA Environmental Objects
Oracle Tuxedo CORBA provides a set of objects for helping the client work with the Tuxedo CORBA environment; the objects enable client applications to easily log on to a Tuxedo CORBA environment, invoke CORBA objects, and start and end transactions. Like the server-side TP Framework component, these objects interact with the Tuxedo CORBA services.
Here is what these objects do for application clients:
The Bootstrap object provides references to the Tuxedo CORBA objects in a Tuxedo CORBA application. An application client can connect to multiple Oracle Tuxedo CORBA applications using different Bootstrap objects.
One of the first things that an application client does after startup is to create a Bootstrap object by supplying the host and port number of the IIOP Listener. After the application client contacts an IIOP Listener, the Listener assigns an IIOP Handler to the application client, and the Boostrap object establishes a communication link with the assigned IIOP Handler.
The Bootstrap object also provides references to well-known objects that application clients use, such as TransactionCurrent, SecurityCurrent, InterfaceRepository, and FactoryFinder.
The CORBA OTS TransactionCurrent object coordinates transaction demarcations with the transaction coordinator.
The SecurityCurrent object gets the application client’s security credentials from the Security Service. The SecurityCurrent object registers the certificate with the IIOP Handler, which uses the certificate to permit or deny invocations.
Oracle Tuxedo CORBA Object Services
Oracle Tuxedo CORBA provides environmental objects for the C++ programming environment and for the Java programming environment. As of release 8.0, Oracle Tuxedo CORBA also supports the use of the OMG CORBA Interoperable Naming Service (INS) by third-party client ORBs, to obtain initial object references.
Each environmental object provides object services to application clients. Application clients access the environmental objects through a bootstrapping process that accesses the services in a particular Oracle Tuxedo server application. Oracle client ORBs use the Oracle Bootstrap object mechanism, and third-party client ORBs use the CORBA INS mechanism. For more information about bootstrapping an Oracle Tuxedo application, see Oracle Tuxedo CORBA Programming Reference.
The Oracle Tuxedo CORBA environmental objects provide the following services:
The Object Life Cycle service is provided through the FactoryFinder environmental object. The FactoryFinder object is a CORBA object that can be used to locate a factory, which in turn can create object references for CORBA objects. Factories and FactoryFinder objects are implementations of the CORBA Services Life Cycle Service. Oracle Tuxedo CORBA applications use the Object Life Cycle service to find object references.
The Security service is accessed through either the SecurityCurrent environmental object or the PrincipalAuthenticator object. The SecurityCurrent and PrincipalAuthenticator objects are used to authenticate an application client attempting to access an Oracle Tuxedo server application. The Oracle Tuxedo software provides an implementation of the CORBA Services Security Service.
The Transaction service is accessed through either the TransactionCurrent environmental object or the TransactionFactory object. The TransactionCurrent and TransactionFactory objects allow an application client to demarcate a transaction—that is, begin, suspend, resume, and commit a transaction. The Oracle Tuxedo software provides an implementation of the CORBA Services Object Transaction Service (OTS).
The Interface Repository service is accessed through the InterfaceRepository object. The InterfaceRepository object is a CORBA object that contains interface definitions for all the available CORBA interfaces and the factories used to create object references to the CORBA interfaces. The InterfaceRepository object is used with application clients that use Dynamic Invocation Interface (DII).
Oracle Tuxedo TP Framework
The TP Framework component, shown in the following figure, provides a programming model that achieves high levels of performance while shielding the application programmer from the complexities of the CORBA interfaces.
Figure 3‑5 The TP Framework
The TP Framework API provides routines that perform many of the functions required in a standard CORBA application. Application programmers are responsible only for writing the business logic of the CORBA application and overriding default actions provided by the TP Framework.
The TP Framework and environmental objects help make development easy. The following figure illustrates the Oracle Tuxedo CORBA development environment.
Figure 3‑6 Oracle Tuxedo CORBA Deployment Environment
 

Copyright © 1994, 2017, Oracle and/or its affiliates. All rights reserved.