Java Transaction Design Strategies
|
ISBN: 978-1-4116-9591-7
Publisher: Lulu.com
Rights Owner: Floyd Marinescu
Copyright:
© 2006 C4Media Inc. Standard Copyright License
Language: English
Country: Canada
Edition: First Edition
|
Download:
1 documents, 756 KB
Printed: 116 pages, 6" x 9", perfect binding, black and white interior ink Description:Understanding how transaction management works in Java and developing an effective transaction design strategy can help to avoid data integrity problems in your applications and databases and ease the pain of inevitable system failures. This book is about how to design an effective transaction management strategy using the transaction models provided by Java-based frameworks such as EJB and Spring. Techniques, best practices, and pitfalls with each transaction model will be described. In addition, transaction design patterns will bring all these concepts and techniques together and describe how to use these models to effectively manage transactions within your EJB or Spring-based Java applications. The book covers: - The local transaction model - The programmatic transaction model - The declarative transaction model - XA Transaction Processing - Transaction Design Patterns Keywords:Listed in: |
Stats:
Customers who bought Java Transaction Design Strategies also bought:
Reviews:
Please log in or sign up to post a review.
So the bottom line is that I highly recommend this book for anyone that does anything with Java and databases.
While writing the book I relied on the wisdom, advice, and reviews of many industry experts including Floyd Marinescu, Dr. Mark Little of JBoss (author of Java Transaction Processing), Stuart Dabbs Halloway (NFJS Speaker and author of Component Development for the Java Platform), Alan Beaulieu, (author of three best-selling books on SQL and Oracle), and many others in the technical and writing field. The book also went through a thorough editing and review process through Floyd Marinescu’s professional editing and publishing team.
The book is purposely short and concise so that the reader is not bogged down by details that are not directly applicable to his or her role as a developer or architect. Most developers and architects do not have the time to sit down and read a 400 page technical book, let alone find detailed information quickly in a large text. The book is structured as follows: after a brief introduction, I describe in detail (using coding examples in both EJB and Spring) the three transaction models supported by Java (local, programmatic, and declarative). I then go into details about XA transactions and when they are needed. After these chapters I then bring everything together by describing three transaction design patterns using UML and code examples in both EJB and Spring.
There have been several malicious reviews posted about my book with regards to bad grammar, lack of UML, and other such nonsense. These non-constructive reviews are meant only to hurt me and confuse prospective readers (most have been removed, but the malicious reviewer still continues to post from time to time). I would encourage you to ignore these reviews and focus on the more constructive ones. If you have comments or suggestions about the book, please write an honest, constructive, and truthful review of what you think.
For those of you who would like to view a free sample of the book, you can download the non-printable PDF version from Floyd Marinescu’s InfoQ website (www.infoq.com).
I hope you enjoy the book.
Mark Richards
In my brief scan of the book, I saw classes and methods mentioned in paragraphs. And when I saw the diagrams it was clear what class owned what responsibilities. However, when the author mentions the need to call certain methods based on certain conditions, I expected to see some UML. I saw instances where class diagrams, activity diagrams and sequence diagrams could have been extremely useful … and simple to put together. When I read the back of the book and saw Mr. Richards' credentials, I was even more confused about why a Senior IT Architect at IBM would not use UML diagrams. As a supposed leader in his field, should he not be setting an example for the use of standards? I feel, given the author’s substantial background, that this book could use some improvement not only grammatically, but also with additional diagrams.
Also, since this book was published on or around May 30, 2006, I would like to pose a question to the reviewer who indicates that he/she implemented Mr. Richards' design pattern(s) within 5 or 6 weeks. Maybe you're dealing with a small non-critical system. However, the systems that I have worked with in the past required that a change in the architecture necessitated a full analysis and design including risk assessment. This usually took a few months at minimum. All is dependent on the size of the system, but implementation could take another month or 6 months. Given the nature of the deployment (database transaction related), deployment may require a system shutdown. As we all know, system shutdowns are not easily coordinated in a large organization or with internet-based applications. Since the content of this book seems to be geared towards larger, enterprise applications / systems, I am wondering how you managed to get all this work done and debugged within 4-5 weeks?
[Click the preview to close]




