Transaction Management

Most applications of any significance require you to provide transaction management. In this context, a transaction is any number of operations against a database that must all be performed together or not at all. This type of behavior is termed atomic, in that a transaction can group a set of database updates into one, atomic update. Just to be clear, let’s take the example of a banking application. In this application, money can be transferred from A’s account to B’s account. In the normal course of operations, the money should be taken from A’s account and then placed in B’s account. However, if the money were taken from A’s account and then the server were to crash, B would never receive the funds from A’s account. Clearly, ...

Get Microsoft® Visual J#™ .NET (Core Reference) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.