Adding Transactions to Servlets with JOTM (3 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.