Escape from common coding pitfalls with this detailed book ofproven Jakarta missteps and solutions
The dangers of Jakarta pitfalls are everywhere and countlessdevelopers have already been trapped. These mistakes have delayedschedules, allowed major bugs to get into the users hands, orled to numerous rewrites in maintenance. Luckily, you donthave to be the next victim. This comprehensive book captures someof the most common pitfalls that occur with Jakarta and providesyou 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 thecommon symptoms and consequences.
They then arm you with a proven solution for each pitfall andtake you step-by-step through the process of converting fromerror-ridden to pitfall-free code. In the end, the pitfalls andsolutions presented inside will help you build superiorapplications that are easier to maintain.
This book will save you from the frustration of having to spendhours 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 StrutsAction Forms
- Building subprojects
- Performing business logic in Struts ActionForms
The companion Web site contains all the code examples andsolutions in the book.