This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Spring and the fly likes Transaction Manager Usage in Spring Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Transaction Manager Usage in Spring " Watch "Transaction Manager Usage in Spring " New topic
Author

Transaction Manager Usage in Spring

Vaibhav G Garg
Ranch Hand

Joined: Sep 23, 2011
Posts: 140
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

Joined: Jul 28, 2003
Posts: 1844

This article must be good enough to understand:
http://www.javabeat.net/2010/08/transaction-management-in-spring-framework/
 
wood burning stoves
 
subject: Transaction Manager Usage in Spring