Product Features
The DB XA Module enhances SourcePro DB with new implementations of some classes and extended functionality of others. These enhancements let you use SourcePro DB in an XA-compliant distributed transaction processing (DTP) environment.
The DB XA Module includes the following features:
Recoverability across databases. In a TPM environment, connections to resource managers are established by the TPM through the XA interface. The DB XA Module makes these connections visible to your SourcePro DB applications by encapsulating them through
RWDBConnection.
Support for use of previously established or registered connections. Because SourcePro DB creates and manages its own connections to an RDBMS, it does not use previously established connections. In the DB XA Module, however, the
RWDBConnection class does not have the responsibility of opening and closing database connections. Instead, it is responsible for obtaining a valid handle to a connection previously opened by a TPM.
Full support for SourcePro DB classes and features. It also provides XA-specific implementations of the connection and database classes, rather than new classes. In this way, the DB XA Module maintains support for the existing SourcePro DB product.
Database portability and X/Open transactions. Because the DB XA Module uses the interface/implementation design pattern, the interface to an XA-compliant
RWDBConnection or
RWDBDatabase class does not change according to the database in use. Only the class implementation changes.
Database-independent code. The
RWDBManager class provides a member function named
xaSwitch(), which you can use to build database-independent application servers with runtime binding. Code written to an application server that accesses an Oracle OCI database will not change, even if the resource manager is changed to Sybase.