or
Sign in to turn on 1-Click ordering.
 
 
Express Checkout with PayPhrase
What's this? | Create PayPhrase
Sorry!
More Buying Choices
35 used & new from $1.95

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 your Kindle here.
 
  

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

~ (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: $26.40 & this item ships for FREE with Super Saver Shipping. Details
You Save: $13.60 (34%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
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 1 left in stock--order soon (more on the way).

Want it delivered Wednesday, November 11? Choose One-Day Shipping at checkout. Details
17 new from $7.07 18 used from $1.95

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: $66.40

One of these items ships sooner than the other. Show details

  • This item: Jakarta Pitfalls: Time-Saving Solutions for Struts, Ant, JUnit, and Cactus (Java Open Source Library) by Bill Dudney

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • More Java Pitfalls: 50 New Time-Saving Solutions and Workarounds by Michael C. Daconta

    Usually ships within 7 to 11 days.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details


Customers Who Bought This Item Also Bought

Applying UML and Patterns: An Introduction to Object-Oriented Analysis and Design and Iterative Development (3rd Edition)

Applying UML and Patterns: An Introduction to Object-Oriented Analysis and Design and Iterative Development (3rd Edition)

by Craig Larman
4.4 out of 5 stars (120)  $63.74
Core J2EE Patterns: Best Practices and Design Strategies (2nd Edition)

Core J2EE Patterns: Best Practices and Design Strategies (2nd Edition)

by Deepak Alur
4.7 out of 5 stars (44)  $43.86
Extreme Programming with Ant: Building and Deploying Java Applications with JSP, EJB, XSLT, XDoclet, and JUnit

Extreme Programming with Ant: Building and Deploying Java Applications with JSP, EJB, XSLT, XDoclet, and JUnit

by Glenn Niemeyer
3.8 out of 5 stars (6)  $49.99
Effective Java (2nd Edition)

Effective Java (2nd Edition)

by Joshua Bloch
4.9 out of 5 stars (36)  $33.03
Continuous Integration: Improving Software Quality and Reducing Risk

Continuous Integration: Improving Software Quality and Reducing Risk

by Paul Duvall
4.7 out of 5 stars (16)  $23.00
Explore similar items

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.


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,354,742 in Books (See Bestsellers in Books)

More About the Author

Bill Dudney
Discover books, learn about writers, read author blogs, and more.

Visit Amazon's Bill Dudney Page

Inside This Book (learn more)


What Do Customers Ultimately Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 

Your tags: Add your first tag
 

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

This product's forum
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
 

Search Customer Discussions
   




Product Information from the Amapedia Community

Beta (What's this?)


Look for Similar Items by Category


Look for Similar Items by Subject

 

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.


Your Recent History

 (What's this?)

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