Tuxedo
0

Product Overview

 Previous Next Contents Index View as PDF  

BEA Tuxedo CORBA Components

The following sections describe the BEA Tuxedo CORBA components built on the BEA Tuxedo infrastructure:

 


BEA Tuxedo CORBA Overview

BEA 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. BEA Tuxedo CORBA also taps into the existing Tuxedo infrastructure for transaction management, security, message transport, administration and manageability, and XA-compliant database support.

BEA 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.

BEA Tuxedo CORBA is an object application server that runs server-side distributed objects. Besides managing an application's server objects and managing transactions, BEA 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 BEA Tuxedo CORBA, orchestrates the actions of all the participants and makes them act as part of a transaction.

 


BEA Tuxedo CORBA TP Framework

The BEA 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.

 


BEA Tuxedo CORBA Architecture

BEA Tuxedo CORBA consists of the following main components:

 


BEA Tuxedo OTM and Infrastructure

The BEA Tuxedo infrastructure provides the bedrock client/server architecture for both BEA Tuxedo CORBA and BEA Tuxedo ATMI. The OTM and infrastructure discussed here and illustrated in the following figure constitute the BEA Tuxedo CORBA environment, which provides the communication interfaces, transaction support, and application-processing and administrative services for a distributed CORBA application.

Figure 3-2 BEA Tuxedo CORBA Environment


 

System Management Interface

The BEA Tuxedo system management interface, common to both BEA Tuxedo CORBA and BEA Tuxedo ATMI, can accommodate tools for both application development and administration. For information about the BEA Tuxedo system management interface, see System Management Interface.

Application Programming Interface

The BEA Tuxedo CORBA programming interface consists of a C++ server ORB, a C++ client ORB, and a Java 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 BEA 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 BEA Tuxedo TP Framework. For information about client-side environmental objects, see BEA Tuxedo CORBA Environmental Objects.

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 BEA Tuxedo CORBA programming environment.

Figure 3-3 Components in a BEA Tuxedo CORBA Application


 

BEA Tuxedo CORBA runs the objects in the server processes that it manages. BEA 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 BEA Tuxedo Terms and Concepts.

 


BEA 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


 

BEA Tuxedo CORBA includes C++ server ORB, C++ client ORB, Java client ORB, and ActiveX client ORB-like software. 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 BEA Tuxedo CORBA via CORBA's IIOP protocol.

 


BEA Tuxedo IIOP Listener/Handler

The BEA Tuxedo IIOP Listener/Handler allows a CORBA client or ActiveX client residing on a remote machine that does not have a full BEA Tuxedo server-side installation (that is, a machine that does not support BEA Tuxedo administration servers or a bulletin board) to be able to communicate with a BEA 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:

IIOP Listener/Handler Communication

The IIOP Listener/Handler communication architecture involves the following software processes:

IIOP Listener/Handler Documentation

For more information about the IIOP Listener/Handler, see the following documents:

 


BEA Tuxedo CORBA Environmental Objects

BEA 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:

 


BEA Tuxedo CORBA Object Services

BEA Tuxedo CORBA provides environmental objects for the C++ programming environment, for the Java programming environment, and for the automation (used by ActiveX application clients) programming environment. As of release 8.0, BEA 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 BEA Tuxedo server application. BEA client ORBs use the BEA Bootstrap object mechanism, and third-party client ORBs use the CORBA INS mechanism. For more information about bootstrapping a BEA Tuxedo application, see BEA Tuxedo CORBA Programming Reference.

The BEA Tuxedo CORBA environmental objects provide the following services:

 


BEA 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 BEA Tuxedo CORBA development environment.

Figure 3-6 BEA Tuxedo CORBA Deployment Environment


 

 


BEA Tuxedo ActiveX Client

The ActiveX client component enables ActiveX programs to interact with BEA Tuxedo CORBA objects as though they were local ActiveX objects. Included with the ActiveX client component is the BEA Application Builder development tool, which is a GUI application program used to create ActiveX clients.

Figure 3-7 Application Builder GUI


 

Application Builder can be used to select which CORBA objects are available to desktop applications, to create ActiveX views of the CORBA objects, and to create packages for deploying ActiveX views of CORBA objects to client machines. For a description of the Application Builder and how it works, either access Help directly from the GUI or see CORBA ActiveX Online Help.

Note: The BEA Application Builder and the ActiveX client component are deprecated in BEA Tuxedo 8.1. Tuxedo CORBA applications using Application Builder should contact Actional Corporation at http://www.actional.com for ActiveX client development support.

 

Back to Top Previous Next
Contact e-docsContact BEAwebmasterprivacy