This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara 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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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/
 
Don't get me started about those stupid light bulbs.
 
subject: Transaction Manager Usage in Spring