If you are working with Struts, Ant, or automated unit testing into your development process,
then this is a book for you.
This book looks at the popular Jakarta applications as
JUnit/Cactus, Struts, and Ant, and shows the most common pitfalls when using
these applications. The book gives
a chapter to Ant and one chapter to JUnit/Cactus and rest to Struts.
Most part of the book is on Struts. The authors discuss potential
problems using Actions, ActionForms, and Struts tag library.
Each pitfall has its own section and is formatted the same as the others.
You get a description of each pitfall, an example of the pitfall in action,
and steps for refactoring it. Corrective solutions are well documented with plenty of code samples
to show both before and after images.
This is a good book on anti-patterns and refactoruing, very good companion of the book <<Rafactorying>> (by Martin Fowler)
<<Java Tools for Extreme Programming: Mastering Open Source Tools Including Ant, JUnit, and Cactus>>
(this one covers ant and junit/cactus but not struts)
This book is very readable, some may think it just covers obvious problems, actually, it coveres common pitfalls
that most people forget to escape. It's not a difficult book, but very practical.