Average Reviews:
(More customer reviews)I have to admit that I am a big fan of antipattern books.There are many ways to code an application but a few of those ways will cause problems in the long run both in debugging and maintenance.This book looks at four of the most popular Jakarta applications, JUnit, Cactus, Struts, and Ant, and shows the most common problems that you encounter when using these applications.The book gives a chapter each to Ant and the two testing applications JUnit and Cactus but the majority of the book is dedicated to Struts.
Each chapter looks at several programming mistakes and then discusses ways to revise your code to fix these mistakes and make your code more robust.The problems with certain coding styles are well explained with clear reasoning as to why you don't want to code a particular way.Corrective solutions are well documented with plenty of code samples to show both before and after images.
Although the chapters on testing and Ant are good, the heart of the book is the chapters on Struts.The authors discuss potential problems using Actions, ActionForms, and the Struts tag library.Some problems can just make your code more difficult to maintain while others can introduce intermittent bugs that are very difficult to diagnose.Anyone who is using Struts should absolutely read these chapters, as it will save you from making some simple mistakes that could cause a lot of long-term pain in your development.
Click Here to see more reviews about: Jakarta Pitfalls: Time-Saving Solutions for Struts, Ant, JUnit, and Cactus (Java Open Source Library)
Product Description:
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 don't 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.
Want to buy Jakarta Pitfalls: Time-Saving Solutions for Struts, Ant, JUnit, and Cactus (Java Open Source Library) at other amazon sites? Click the corresponding icon below:
0 comments:
Post a Comment