Agile Business Suite and the Open/OLTP Architecture

The Open/OLTP environment, in which Agile Business Suite participates, is structured upon the following functional components of the X/Open DTP model:

These components are described in the following subsections.

Application Program (AP)

An application program is user-level software that is responsible for performing some defined business activity. It can perform the business activity directly, or it can coordinate other modules to perform the activity.

Application programs or modules can be structured as:

Transaction Manager (TM)

The Transaction Manager is system software that:

The protocol utilized to commit a transaction is Two-Phase Commit with presumed abort.

Resource Managers (RMs)

Resource Managers are system software that manage and provide access to resources or to remote communications (CRM); for example:

Resource Managers cooperate with the Transaction Manager to identify all the resources used by both clients and servers in each transaction.

Communications Resource Manager (CRM)

The Communications Resource Manager (CRM) is system software that controls communication between application programs participating in a global transaction.

Communications Resource Managers also facilitate communication between Transaction Managers on different computer systems.

Communications Protocols

Communications protocols are the rules and formats used by the network services to communicate between CRMs on different hosts.

The Open/OLTP software is based on the Open Systems Interconnection Transaction Processing (OSI TP), an ISO standard supported by X/Open DTP for message-passing between applications on different computers.

The figure below shows how these components, with a Runtime application as an application program, combine and interact.

How Applications Interact with Open/OLTP Software

Interfaces

X/Open standard interfaces enable the application to interact with the Resource Managers, Transaction Manager, and the Communication Resource Manager.

The XATMI application program interface to the CRM is used for request and response communication during global transactions.

The Transaction Demarcation (TX) application program interface is used to call the Transaction Manager. In particular, Agile Business Suite uses the TX interface to define global transaction boundaries, and to direct the completion of a global transaction.

The XA, XA+, and XAP-TP interfaces shown in the figure How Applications Interact with Open/OLTP Software are used for communication between Open/OLTP software components.

OLTP Buffers and Views

In an Open/OLTP environment, buffers are used to pass a formatted data message between application programs (clients and servers). Client programs and service routines, possibly on different kinds of computers, exchange input and output data using these defined buffers. The format of the data in the OLTP buffer is defined in the OLTP Buffer description.

A View has an OLTP Type that specifies the kind of elements (data types) that are allowed, and an OLTP Subtype that describes the user-defined attributes. The Subtype indicates how the user data is to be interpreted. Agile Business Suite builds View definitions for any OLTP-capable Ispecs.

If you are targeting a Specification built on an MCP host to run in a UNIX environment, the View definitions must be available on the MCP host and be identical to those on the target host where the application is installed.

The XATMI interface provides three View types:

These View types are specified by the X/Open model. Agile Business Suite supports X_COMMON, and can use X_C_TYPE (within the data types recognized by COBOL) to communicate with external servers.

Refer to the following documents for more information on the these interfaces: