Explain transaction management in Spring framework.
Spring supports programmatic as well as declarative transaction management. The main benefits of using Spring transaction management are:
a) Provides a consistent programming model across different transaction APIs like JTA, JDBC, JPA, Hibernate etc.
b) Provides a simpler API for programmatic transaction management than JTA
c) Integrates very well with Spring’s various data access abstractions