Features
- Cover Type: Paperback with 624 pages
- Published by: Wiley
- Edition: 1st Edition August 11, 2003
- Written in: English
- ISBN 10 Number: 0471146153
- ISBN 13 Number: 978-0471146155
-
Book Dimensions:
9.2 x 7.4 x 1.4 inches
- Weighs: 2 pounds
Product Description
"The flip-side of Patterns, AntiPatterns provide developers with formal descriptions of common development gaffes that can derail a project along with practical guidelines on how to avoid them. In this book, the authors present dozens of Java AntiPatterns that tackle many of Java's biggest trouble spots for programming with EJB, JSP, Servlets, and more. Each AntiPattern is documented with real-world examples, code, and refactored (or escape-route) solutions, and the book uses UML (where appropriate) to diagram improved solutions. All code examples from the book are available to the reader on the book's companion Web site."
Back Cover Copy
"The insights in this book are based on proven solutions from experts. They will ensure the success of your J2EE implementations."
-Bill Brown, AntiPattern Evangelist
All too often delivered
software is full of bugs and poorly performing processes. Unfortunately, uncovering exactly what has gone wrong and what requirements to be done to correct it can be a difficult process. Focusing on J2EE, this innovative book will give you the tools youll need to recognize and correct AntiPatternsbad habits of code and design. The authors explore the common mistakes that are made while developing J2EE applications and clearly show you how to refactor your way out of them.
They first capture the AntiPatterns in a template that simply describes their symptoms and consequences as well as their typical causes. Then they guide you through the process of transforming the implementation of code to make the design better.
For each AntiPattern, the authors present you with real-world examples, code, and at least one refactoring. This approach will help you write J2EE programs that work better, quicker, and with less effort. Youll find more than fifty J2EE AntiPatterns that tackle many of Javas biggest trouble spots for programming including:
- Miscalculating bandwidth requirements
- Too much data in a JSP session
- Common functionality in every servlet
- Overloading destinations in message driven beans
- Choosing the wrong level of detail in J2EE services
The companion Web site contains the code examples from the book.
Reader ReviewsThis book does an excellent job of describing a wide variety of common mistakes that are made in the design and implementation of J2EE systems. For each problem pointed out by the AntiPattern, the book also describes how you can refactor your design to avoid this problem. I strongly recommend that all J2EE architects, designers, and coders read both an AntiPattern book and a "positive" pattern book. It is very valuable to read books such as Core J2EE Patterns or EJB Design Patterns to find out positive patterns for J2EE design. Books like J2EE AntiPatterns provide the flip side of the coin by pointing out what you shouldn't do in your J2EE design.