Adapter Development Kit 9.12 | webMethods Adapter Development Kit Documentation | webMethods Adapter Development Kit Installation and User’s Documentation | Overview | Development Time Tasks and Support | Transaction Support
 
Transaction Support
Integration Server considers a transaction to be one or more interactions with one or more resources that are treated as a single logical unit of work. The interactions within a transaction are either all committed or all rolled back. For example, if a transaction includes multiple database inserts, and one or more inserts fail, all inserts are rolled back.
Integration Server supports the following transactions types:
*A local transaction, which is a transaction to a resource's local transaction mechanism
*An XAResource transaction, which is a transaction to a resource's XAResource transaction mechanism
Integration Server can automatically manage both transaction types, without requiring the users of the adapter to do anything. Integration Server uses the container-managed (implicit) transaction management approach as defined by the JCA standard and also performs some additional connection management. This is because the adapter services use connections to create transactions. However, there are cases where the user of the adapter needs to explicitly control the transactional units of work.
To support transactions, Integration Server relies on a built-in transaction manager. The transaction manager is responsible for beginning and ending transactions, maintaining a transaction context, enlisting newly connected resources into existing transactions, and ensuring that local and XAResource transactions are not combined in illegal ways.
For more information, see Overview.