18.04.2013 Views

B2B Integration : A Practical Guide to Collaborative E-commerce

B2B Integration : A Practical Guide to Collaborative E-commerce

B2B Integration : A Practical Guide to Collaborative E-commerce

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Middleware Technologies 217<br />

Isolation — A transaction's behavior is not affected by other transactions<br />

which are occurring concurrently. This is often accomplished by<br />

serializing transactions by using table or row level locking within a<br />

database.<br />

Durability — A transaction's effects are permanent after it commits,<br />

even in the event of a system failure.<br />

TP moni<strong>to</strong>rs allow multi-vendor resources <strong>to</strong> plug in<strong>to</strong> the TP system<br />

and provide global management of transactions across databases and<br />

other resources. TP moni<strong>to</strong>rs are still unmatched in the management of<br />

high transactional environments across multiple database systems residing<br />

on multiple operating systems.<br />

8.2.1. How they work?<br />

TP moni<strong>to</strong>rs decouple the relationship between the client application<br />

and the physical database schema. Access <strong>to</strong> the underlying database is<br />

usually through an API, ensuring enforcement of business rules and<br />

referential integrity. By offloading most work <strong>to</strong> a middle tier, TP<br />

moni<strong>to</strong>rs improve overall system efficiency.<br />

TP moni<strong>to</strong>rs work by creating classes or application processes,<br />

which are memory-resident threads that handle the work for a particular<br />

application. Each application can have one or more classes<br />

belonging <strong>to</strong> it. When a client requests a service from the TP moni<strong>to</strong>r,<br />

the server loads the DLL for the process, manages the execution of the<br />

process or transaction and returns the results <strong>to</strong> the client. The DLL can<br />

then remain resident in memory where it can be shared by other<br />

processes.<br />

Due <strong>to</strong> the inherently heterogeneous environment in which TP<br />

moni<strong>to</strong>rs exist, a set of standards was developed <strong>to</strong> allow these products<br />

<strong>to</strong> communicate with disparate systems. In 1991, the X/Open XTP group<br />

published the Transaction Processing Reference Model, often referred<br />

<strong>to</strong> as the X/Open XA model for transaction managers.<br />

The standard defined three components for transaction processing<br />

are:

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!