This section covers the features of GemFire transactions.
GemFire supports two kinds of transactions: GemFire cache transactions and JTA global transactions.
GemFire cache transactions are used to group the execution of cache operations and to gain control offered by transactional commit and rollback. Applications create cache transactions by using an instance of the GemFire CacheTransactionManager to start and terminate transactions. During the transaction, cache operations are performed and distributed through GemFire as usual. See GemFire Cache Transactions for details on GemFire cache transactions and how these transactions work.
JTA global transactions allow you to use the standard Java interface (JTA) to coordinate GemFire transactions with JDBC transactions. When performing JTA global transactions, you have the option of using GemFire’s own implementation of JTA or a third party’s implementation (typically application servers like WebLogic or JBoss) of JTA. For global transactions, applications use java:/UserTransaction to start and terminate transactions while GemFire cache operations are performed in the same manner as regular GemFire cache transactions. See JTA Global Transactions with GemFire for details on JTA Global transactions.