"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 needs to be done to correct it can be a difficult process. Focusing on J2EE, this innovative book will give you the tools you'll need to recognize and correct AntiPatterns–bad 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. You'll find more than fifty J2EE AntiPatterns that tackle many of Java's 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.