From the Back Cover
Escape from common coding pitfalls with this detailed book of proven Jakarta missteps and solutions
The dangers of Jakarta pitfalls are everywhere and countless developers have already been trapped. These mistakes have delayed schedules, allowed major bugs to get into the users hands, or led to numerous rewrites in maintenance. Luckily, you dont have to be the next victim. This comprehensive book captures some of the most common pitfalls that occur with Jakarta and provides you with the solutions to escape them. Focusing on Struts, Ant, Cactus, and JUnit, the authors describe each pitfall in detail, explain how developers have walked into the trap, and discuss the common symptoms and consequences.
They then arm you with a proven solution for each pitfall and take you step-by-step through the process of converting from error-ridden to pitfall-free code. In the end, the pitfalls and solutions presented inside will help you build superior applications that are easier to maintain.
This book will save you from the frustration of having to spend hours working your way out of pitfalls such as:
- Failing to isolate tests or subjects in Cactus and JUnit
- Overloading Struts ActionMappings
- Calculating derived values in JSPs
- Duplicating formatting and type conversion code in Struts Action Forms
- Building subprojects
- Performing business logic in Struts ActionForms
The companion Web site contains all the code examples and solutions in the book.
About the Author
BILL DUDNEY is a Java architect with Object Systems Group. He has been building J2EE™ applications and software for five years and has been doing distributed computing for almost fourteen years. He is the coauthor of J2EE AntiPatterns (from Wiley).
JONATHAN LEHR is an independent consultant with more than twenty years of experience in software development and training. He has designed e-commerce applications for Fortune 100 companies.