January 2011
Intermediate to advanced
507 pages
13h 27m
English
Transactions are fundamental to applications in order to ensure consistent behavior for data. In addition, they are a fundamental building block for ensuring the implementation of atomic, consistent, independent, and durable (ACID) behavior in an application. In the QuickReturns Ltd. application, ACID behavior means that when you do make a trade, it is absolute. It will either be complete in its entirety or be rolled back, leaving no room for ambiguity. If you were to put in a buy order for a stock, you would definitely want to be sure that the trade were absolute, right? Without transactions, you would not be sure that the trade was indeed conducted, and you would have no means of verifying the validity without ambiguity. ...