How EAServer transactions work

In EAServer Manager, you can declare EAServer components to be transactional. When a component is transactional and uses the EAServer connection management feature, commands sent on a third-tier database connection are automatically performed as part of a transaction. Component methods can call EAServer’s transaction state primitives to influence whether EAServer commits or aborts the current transaction.

The component lifecycle is tightly integrated with EAServer’s transaction model. Component instances that participate in a transaction are not deactivated until the transaction ends or until the component indicates that its contribution to the transaction is over (that is, its work is done and ready for commit or that its work must be rolled back). An instance’s time in the active state corresponds to the beginning and end of its participation in a transaction.