Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.

 

or
Sign in to turn on 1-Click ordering.
 
   
More Buying Choices
40 used & new from $1.16

Have one to sell? Sell yours here
 
   
Jakarta Pitfalls: Time-Saving Solutions for Struts, Ant, JUnit, and Cactus (Java Open Source Library)
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get yours here.
 
  

Jakarta Pitfalls: Time-Saving Solutions for Struts, Ant, JUnit, and Cactus (Java Open Source Library) (Paperback)

by Bill Dudney (Author), Jonathan Lehr (Author) "With the advent of Extreme Programming (XP) and its emphasis on refactoring, unit testing has gained in popularity and exposure..." (more)
Key Phrases: Mock Objects, Paste Conversion, Console-Based Testing (more...)
4.6 out of 5 stars See all reviews (9 customer reviews)

List Price: $40.00
Price: $40.00 & this item ships for FREE with Super Saver Shipping. Details
Upgrade this book for $8.00 more, and you can read, search, and annotate every page online. See details
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Only 2 left in stock--order soon (more on the way).

Want it delivered Monday, July 13? Choose One-Day Shipping at checkout. Details
17 new from $11.54 23 used from $1.16

Frequently Bought Together

Customers buy this book with More Java Pitfalls: 50 New Time-Saving Solutions and Workarounds by Michael C. Daconta

Jakarta Pitfalls: Time-Saving Solutions for Struts, Ant, JUnit, and Cactus (Java Open Source Library) + More Java Pitfalls: 50 New Time-Saving Solutions and Workarounds
Price For Both: $70.40

Editorial Reviews

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.

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 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.

See all Editorial Reviews


Product Details

  • Paperback: 283 pages
  • Publisher: Wiley (July 25, 2003)
  • Language: English
  • ISBN-10: 0471449156
  • ISBN-13: 978-0471449157
  • Product Dimensions: 9.2 x 7.4 x 0.7 inches
  • Shipping Weight: 1 pounds (View shipping rates and policies)
  • Average Customer Review: 4.6 out of 5 stars See all reviews (9 customer reviews)
  • Amazon.com Sales Rank: #1,148,986 in Books (See Bestsellers in Books)

Inside This Book (learn more)


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below.

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

9 Reviews
5 star:
 (7)
4 star:
 (1)
3 star:    (0)
2 star:
 (1)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.6 out of 5 stars (9 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
10 of 10 people found the following review helpful:
5.0 out of 5 stars Using Struts? Buy this book!, October 4, 2003
By Thomas Paul (Plainview, NY USA) - See all my reviews
(REAL NAME)      
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.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
6 of 7 people found the following review helpful:
2.0 out of 5 stars The synopsis in the back is the entire book, December 18, 2003
The book is fine, but it in the back is a boiled down synopsis, about 5 pages, that suffices for the entire book. The rest of the book doesn't really add that much. The material here is good, but is available by reading a few white papers and faq's on the web. I didn't dislike the book, I just wish I hadn't spent the money.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
3 of 3 people found the following review helpful:
4.0 out of 5 stars Where was this book when I was cutting my teeth on Cactus, October 14, 2003
By A Customer
This is an important book. If you're new to any of these tools, don't waste your time hitting the same potholes that everyone else has. The authors took some good notes in trenches, and they present their pitfalls in a structure way that builds one upon another.

I just wish this book was available when I was first getting started with Cactus!? It will be at my elbow as I start my upcoming Struts project.

(The only reason I didn't give this book 5 stars is that I ran across a few typos.)

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

5.0 out of 5 stars easy to read and useful
If you are working with Struts, Ant, or automated unit testing into your development process,
then this is a book for you. Read more
Published on November 20, 2004 by ZhongDan LAN

5.0 out of 5 stars The best book on the architectural problems of Struts
If you are designing a large-scaled web application based on Struts, you should read this book first. Read more
Published on February 16, 2004 by skyatrockville

5.0 out of 5 stars must have reference!
Whether you're a beginner or an expert on Struts, Ant or JUnit, this book will provide you all the items you should watch out for. Read more
Published on November 15, 2003

5.0 out of 5 stars Practical Guide to Avoiding Common Mistakes
If you are working with Struts, Ant, or incorporating automated unit testing into your development process (shame on you if your aren't!), then this is a valuable book. Read more
Published on September 8, 2003 by jollyoldbloke

5.0 out of 5 stars required reading
Dudney and Lehr have put together and excellent catalog of common pitfalls that occur when using Ant, Cactus, JUnit, and Struts. Read more
Published on August 27, 2003 by Chris Maki

5.0 out of 5 stars Comprehensive anti-patterns review
The authors have written a well organized, thoughtful catalog of mistakes commonly made by developers new to struts, ant and junit. Read more
Published on August 26, 2003

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (1 discussion)
  Discussion Replies Latest Post
How popular is Struts ? 0 February 2008
See all discussions...  
Start a new discussion
Topic:
First post:
Prompts for sign-in
  [Cancel]

   


Product Information from the Amapedia Community

Beta (What's this?)



Look for Similar Items by Category


Summer Sales

Omaha Steaks Hamburgers
Shop the summer food sale and save up to 50% on salsas and spreads, steaks and burgers, seafood, oils and vinegars, and desserts, only at Amazon Gourmet.

See all sale items

 

Best Books of 2008

Best of 2008
Find our top 100 editors' picks as well as customers' favorites in dozens of categories in our Best Books of 2008 Store.
 

Buy Three Books, Get a Fourth Free

4-for-3 Books
Order any four eligible books under $10 and get the lowest-price book free in our 4-for-3 Books Store. See more details.
 

Best Books

Best of the Month
See our editors' picks and more of the best new books on our Best of the Month page.
 

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers
Glenn Beck's Common Sense
Glenn Beck's Common Sense
Darkfever
Darkfever by Karen Marie Moning
The Adventures of Sherlock Holmes
The Adventures of Sherlock Holmes by Arthur Conan, Sir, 1859-1930 Doyle

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates