This page describes an older version of the product. The latest stable version is 15.2.

Transactions

The Spring Framework provides a transaction manager abstraction using the PlatformTransactionManager interface with several different built-in implementations, such as JDBC Data Source and JTA. GigaSpaces provides several implementations for Spring’s PlatformTransactionManager, allowing you to use the GigaSpaces local and Jini Distributed Transaction Managers.

Optimistic Locking
The optimistic locking protocol provides better performance and scalability when having concurrent access to the same data. Optimistic locking offers higher concurrency and better performance than pessimistic locking. It also avoids deadlocks.

Pessimistic Locking
In the pessimistic locking approach, your program must explicitly obtain a lock using a transaction on one or more objects before making any changes.