Advantages of the Spring Framework’s transaction management by R4R Team

Advantages of the Spring Framework’s transaction management:-

The Spring Framework provides a consistent abstraction for transaction management that shows the following benefits:

1 Consistent programming model across different transaction APIs such as Java Transaction API (JTA), JDBC, Hibernate, Java Persistence API (JPA), and Java Data Objects (JDO).

2 Support for declarative transaction management.

3 Simpler API for programmatic transaction management than complex transaction APIs such as JTA.

4 Excellent integration with Spring’s data access abstractions.

5 Uuse the Spring Framework’s transaction abstraction instead of EJB Container-Managed Transactions (CMT) or choosing to drive local transactions through a proprietary API such as Hibernate.

6 Synchronizing resources with transactionsdescribes how the application code ensures that resources are created, reused, and cleaned up properly.

7 Spring Framework’s transaction management provide  Global and Local Transaction for Java EE developers .

Global transactions enable you to work with multiple transactional resources, typically relational databases and message queues.
Local transactions are resource-specific, such as a transaction associated with a JDBC connection. Local transactions may be easier to use,

Leave a Comment:
Search
Categories
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!