J2EE AntiPatterns
"The insights in this book are based on proven solutions from experts. They will ensure the success of your J2EE implementations."—Bill Brown, AntiPattern EvangelistAll 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 requirementsToo much data in a JSP sessionCommon functionality in every servletOverloading destinations in message driven beansChoosing the wrong level of detail in J2EE servicesThe companion Web site contains the code examples from the book.