Adding Transactions to Servlets with JOTM (4 tags)
Some operations are too important to happen in stages. If you're dealing with money, for example, you need robust code and assurance that everything will go according to plan. That's where transactions come in. Jeff Mesnil explains what transactions are and how you can use JOTM to provide them.
Wire Hibernate Transactions in Spring (3 tags)
The proper handling of transactions across multiple data stores, supporting multiple application flows, is the kind of heavy lifting J2EE servers were built for. But what if you're using the lighter-weight Spring framework? Binildas C. A. shows how you can wire Spring and Hibernate together to achieve the transaction support you desire.