Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Transaction Manager Usage in Spring

 
Vaibhav G Garg
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am new to Spring and trying to use Transaction Management in my application. I have seen some examples over internet where transactions have been defined using AOP and DataSourceTransactionManager is used for transaction management. The methods have been defined in the advice on which transactions can be applied. So, my query is do I need to do something on my own in my Java code for transaction management or this class will take care of this?

Thanks,
Vaibhav Garg
 
Krishna Srinivasan
Ranch Hand
Posts: 1862
Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This article must be good enough to understand:
http://www.javabeat.net/2010/08/transaction-management-in-spring-framework/
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic