Exploring Transactions

Transactions are the building blocks of processing in applications, and almost any operation an application performs can be considered a transaction. What makes transactions valuable is the capability to group a series of operations into a single unit of work. Loosely speaking, a transaction is a sequence of actions and operations that act as a single unit of work to transform the system from one consistent state to another consistent state.

Business rules within a system define which actions must be grouped together into a transaction. Can you think of some situations in the banking application in which you would want to perform a series of operations in a single unit of work? Table 7.1 lists some of these situations and ...

Get Sams Teach Yourself Microsoft® Windows® DNA Programming in 21 Days 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.