O'Reilly logo

IBM WebSphere eXtreme Scale 6 by Anthony Chaves

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Transaction management

Before we get to the configuration files, we should first review the Spring transaction management concepts. The two main reasons we want to use Spring's transaction support are first for consistent programming model for different transactional APIs and secondly, the availability of declarative transaction management.

The consistent transactional API is most evident when an application uses different data sources. Out of the box Spring lets our applications use the transactional capabilities of Hibernate, JPA, JTA, JDBC, and more using the same programming model. All of these transactional APIs are hidden behind one Spring abstraction, the transaction strategy.

The transaction strategy is an example of a strategy pattern. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required