Spring transaction management
| View: | [ 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 ] |
Articles:
- Bean-Managed Transaction Suspension in J2EE by Dmitri Maximovich - [Clicks: 141]
In this article, we will see how to get a TransactionManager in several popular containers and show how to use it to extend functionality of bean-managed transactions, making them as powerful as container-managed transactions. We'll also outline some risks involved in using this advanced functionality, and at the end, explore how TransactionManager is used in the popular Spring framework.
http://www.onjava.com/pub/a/onjava/2005/07/20/transactions.html - Jul, 2005 - Implementing Transaction Suspension in Spring by Juergen Hoeller - [Clicks: 232]
This article discusses Spring's transaction management facilities in detail. The focus is on leveraging Spring's declarative transactions for POJOs, with JTA as the back-end transaction strategy. The article shows that Spring's transaction services can seamlessly interact with a J2EE server's transaction coordinator, for example the transaction coordinator for BEA WebLogic Server, essentially serving as an alternative to the traditional transaction demarcation style of EJB CMT.
http://dev2dev.bea.com/pub/a/2005/07/spring_transactions.html - Jul, 2005 - Wire Hibernate Transactions in Spring by Binildas Christudas - [Clicks: 225]
This article is intended to show how Spring can be used to assemble components, including their transaction contexts. Connecting to a single data store from within a J2EE application is not a big hurdle. But when it comes to assembly and integration of enterprise-class components, the scenario gets complicated. A single component would be backed up by a single data store or a number of data stores. So, when we speak of assembling two or more components, we are expected to maintain the atomicity of operations done in many data stores, across components. A J2EE server provides a container for these components so that the container is able to take care of transactional atomicity and isolation across components, too. When we are not using a J2EE server, Spring helps us.
[Includes sample code]
http://www.onjava.com/pub/a/onjava/2005/05/18/swingxactions.html - May, 2005
[Top]