Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the authors
OK
Professional JavaTM Tools for Extreme Programming: Ant, XDoclet, JUnit, Cactus, and Maven 1st Edition
The Extreme Programming (XP) methodology enables you to build and test enterprise systems quickly without sacrificing quality. In the last few years, open source developers have created or significantly improved a host of Java XP tools, from XDoclet, Maven, AntHill, and Eclipse to Ant, JUnit, and Cactus. This practical, code-intensive guide shows you how to put these tools to work — and capitalize on the benefits of Extreme Programming.
Using an example pet store application, our expert Java developers demonstrate how to harness the latest versions of Ant and XDoclet for automated building and continuous integration. They then explain how to automate the testing process using JUnit, Cactus, and other tools, and to enhance project management and continuous integration through Maven and AntHill. Finally, they show you how to work with XP tools in the new Eclipse IDE.
Complete with real-world advice on how to implement the principles and practices of effective developers, this book delivers everything you need to harness the power of Extreme Programming in your own projects.
What does this book cover?
Here are some of the things you'll find out about in this book:
- How to automate the building of J2EE apps and components with Ant and XDoclet
- Techniques for automating Java testing using JUnit
- Procedures for automating servlet, JSP, and other J2EE testing using Cactus
- Ways to automate Swing testing with Jemmy, JFCUnit, and Abbot
- How to manage projects using Maven
- Techniques for automating continuous integration with AntHill and Cruise Control
- How to harness plugins for JUnit, Cactus, and Ant in the Eclipse IDE
- Ways to implement Extreme Programming best practices
Who is this book for?
This book is for enterprise Java developers who have a general familiarity with the XP methodology and want to put leading Java XP tools to work in the development process.
- ISBN-100764556177
- ISBN-13978-0764556173
- Edition1st
- PublisherWrox
- Publication dateApril 9, 2004
- LanguageEnglish
- Dimensions7.38 x 1.73 x 9.25 inches
- Print length768 pages
Editorial Reviews
Review
From the Inside Flap
Using an example pet store application, our expert Java developers demonstrate how to harness the latest versions of Ant and XDoclet for automated building and continuous integration. They then explain how to automate the testing process using JUnit, Cactus, and other tools, and to enhance project management and continuous integration through Maven and AntHill. Finally, they show you how to work with XP tools in the new Eclipse IDE.
Complete with real-world advice on how to implement the principles and practices of effective developers, this book delivers everything you need to harness the power of Extreme Programming in your own projects.
What you will learn from this book
- How to automate the building of J2EETM apps and components with Ant and XDoclet
- Techniques for automating Java testing using JUnit
- Procedures for automating servlet, JSP, and other J2EE testing using Cactus
- Ways to automate Swing testing with Jemmy, JFCUnit, and Abbot
- How to manage projects using Maven
- Techniques for automating continuous integration with AntHill and Cruise Control
- How to harness plugins for JUnit, Cactus, and Ant in the Eclipse IDE
- Ways to implement Extreme Programming best practices
Who this book is for
This book is for enterprise Java developers who have a general familiarity with the XP methodology and want to put leading Java XP tools to work in the development process.
Wrox Professional guides are planned and written by working programmers to meet the real-world needs of programmers, developers, and IT professionals. Focused and relevant, they address the issues technology professionals face every day. They provide examples, practical solutions, and expert education in new technologies, all designed to help programmers do a better job.
From the Back Cover
Using an example pet store application, our expert Java developers demonstrate how to harness the latest versions of Ant and XDoclet for automated building and continuous integration. They then explain how to automate the testing process using JUnit, Cactus, and other tools, and to enhance project management and continuous integration through Maven and AntHill. Finally, they show you how to work with XP tools in the new Eclipse IDE.
Complete with real-world advice on how to implement the principles and practices of effective developers, this book delivers everything you need to harness the power of Extreme Programming in your own projects.
What you will learn from this book
- How to automate the building of J2EETM apps and components with Ant and XDoclet
- Techniques for automating Java testing using JUnit
- Procedures for automating servlet, JSP, and other J2EE testing using Cactus
- Ways to automate Swing testing with Jemmy, JFCUnit, and Abbot
- How to manage projects using Maven
- Techniques for automating continuous integration with AntHill and Cruise Control
- How to harness plugins for JUnit, Cactus, and Ant in the Eclipse IDE
- Ways to implement Extreme Programming best practices
Who this book is for
This book is for enterprise Java developers who have a general familiarity with the XP methodology and want to put leading Java XP tools to work in the development process.
Wrox Professional guides are planned and written by working programmers to meet the real-world needs of programmers, developers, and IT professionals. Focused and relevant, they address the issues technology professionals face every day. They provide examples, practical solutions, and expert education in new technologies, all designed to help programmers do a better job.
About the Author
Rick has spoken at a variety of industry conferences and events, including JavaOne, TheServerSide.com Software Symposium JDJEdge, WebServicesEdge, and the Complete Programmer Network software symposiums.
Warner Onstine is a founder and CTO of Interface Guru, a leading Web Usability firm where he consults on back-end technology issues with specific emphasis on how technology and usability work together to present the user with an easy-to-use interface. Warner also runs his own custom development shop, Sandcast Software, which focuses on community and team-oriented software.
Warner got his first computer, a TI-99 4/A, when he was 9 and almost immediately attempted to program a game in Basic on it, which did not work. He stubbornly refuses to get rid of that machine though, along with his trusty NeXT Turbo MonoStation, upon which he got his first taste of Objective-C. This eventually led to Java, skipping right over C++.
His strong community background soon led him to open source, where he has had the chance to meet and interact with several incredible individuals from Jakarta and other open source communities. This also has helped him to keep an open eye on the trends that will soon shape the new landscape—one of his specialties.
Another skill he has is in assisting companies with making the right choices at the right time, utilizing XP, in-depth knowledge of their subject area, and the currently available tools germane to their problem. Warner is also a co-founder and President of the Tucson Java Users Group, which he helped form in 2001, which keeps him rather busy at times. Previously, Warner worked at eBlox, Inc. (a Web development company), Intalio, Inc. (a bay-area Business Process Management Server company), and the University of Arizona Main Library on the Digital Library Team.
Paul Visan is an expert J2EE developer. He serves as a Principal Software Engineer for eBlox, Inc, where he finds that open source tools are invaluable to his work. Paul is a proud Romanian native, now living in the heart of Tucson Arizona. He is a regular contributor to IBM’s developerWorks, for which he has written a series of tutorials on Java Web Services. Paul would like to thank Andrew Barton, Nicholas Lesiecki, Tim Ryan, and Victoria McSherry for helping with this book.
Damon Payne currently works as the Microsoft Business Group manager for Centare Group, Ltd. in Milwaukee, WI. Damon is very passionate about open source technology in the Java and Microsoft .NET worlds. His other professional interests include Mobile development, data persistence patterns, and product development. When not programming or speaking Damon enjoys raising his wonderful daughter, Brooke, home theater, and music.
Joseph D. Gradecki is a software engineer at Comprehensive Software Solutions, where he works on their SABIL product, a enterprise-level securities processing system. He has built numerous dynamic, enterprise applications using Java, AspectJ, servlets, JSPs, Resin, MySQL, BroadVision, XML, and more. He is the author of Mastering JXTA and the coauthor of MySQL and Java Developer's Guide (with Mark Matthews and Jim Cole). Joeholds Bachelors and Masters degrees in Computer Science and is currently pursuing a Ph.D.
Kate Rhodes is a self-taught programmer, serial entrepreneur, and occasional musician with a Japanese nickname and an unstoppable urge to learn new things, solve new problems, and write open source apps. She’s got too many pets, too many projects, and too little time. If she could afford an army of programming minions she’d have one.
She’s ranked better than most and worse than some. She’s worked in impressive places you’ve possibly heard of and unimpressive places you’ve never heard of. She’s done some stuff she’s very proud of and some she isn’t. And so long as life keeps offering up interesting new challenges for her to learn from, she’s happy. If you’re overcome with curiosity you can always see what Kate and her wife are up to at www.masukomi.org.
Robert Watkins is a Brisbane, Australia-based software developer of nine years’ experience. He’s been called a programmer, a software engineer, an architect, and a few other things (many unprintable), but mostly ignores the titles and does what he has to do. These days he is mostly working in J2EE and related technologies, and is a passionate advocate of agile development techniques. When not working, he spends most of his time with his wife and twin children, and when he gets a chance, he takes time out to read Terry Pratchett novels. Robert is also one of the developers on the CruiseControl project.
Erik Meade is an employee of Wells Fargo, who attended XPImmersionTwo, interviewed at XPImmersionThree, coached at XPImmersionFour, and hung out on the evenings of XPImmersionFive. He is the edior of junit.org and an evangelist of JUnit, Ant, CruiseControl, HttpUnit, Tomcat, and open source in general. He is also a contributor to JUnitPerf.
Product details
- Publisher : Wrox; 1st edition (April 9, 2004)
- Language : English
- Paperback : 768 pages
- ISBN-10 : 0764556177
- ISBN-13 : 978-0764556173
- Item Weight : 2.41 pounds
- Dimensions : 7.38 x 1.73 x 9.25 inches
- Best Sellers Rank: #9,513,362 in Books (See Top 100 in Books)
- #3,486 in Java Programming
- #11,622 in Computer Programming Languages
- #13,816 in Microsoft Programming (Books)
- Customer Reviews:
About the authors

Discover more of the author’s books, see similar authors, read book recommendations and more.

Jon Thomas (JT) is a Java and .Net architect, project manager and programmer with over 20 years experience, specializing in multi-tiered enterprise applications and Architectures.
Principle author of Java Testing Patterns (Wiley 2003) and contributor to the first edition of "Java Tools for Extreme Programming" (Wiley 2001).
Jon resides in Cambridge, UK with his wife and 2 youngest clones, where he wakes up every day and tries to make Intelligent Assistants more knowledgeable.
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on Amazon-
Top reviews
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
The book follows the construction of an online pet store--similar to Sun's J2EE Blueprint Pet Store but instead of focusing on J2EE technologies, Hightower's example illustrates how XP tools are integrated into a project.
The tuturials work through several iterations of the pet store. The baseline version has no connection pooling and no EJBs. It has several JSPs, a few classes that use JDBC, and some tables in a database.
The second iteration of the case changes the content management piece of the system to a container managed persistence (CMP) entity bean that implements the backend product management. This iteration demonstrates how to incorporate EJB deployment into Web applications and how to ensure that the unit testing of the category systems still works after the addition of CMP entity bean support.
The third iteration of the case study uses an EJB stateless session bean to add pooling of connections and prepared statements. This iteration is used to demonstrate JUnitPerf and show the time savings from pooling prepared statements when the site is hit by many users.
The fourth iteration of the case study creates a Catalog TagLib. Cactus is used to test this TagLib. This is an excellent example to learn how to operate and run Cactus tests and how to integrate them into the build/deploy process.
The fifth iteration of the case study refactors JSPs using the Apache Struts project. Then, it uses HttpUnit to test that the application still works. The HttpUnit test is run against the baseline and new version to show that the requirements are still met.
The sixth and final iteration of the case study refactors the Web application to use Exstensible Style Language Transformation (XSLT) instead of JSP to build the catalog view. It then compares the throughput of the two approaches using JMeter.
I've found it very difficult to follow the partially finished documentation for many of the useful open source tools needed for full XP. Having a book like Hightower's is invaluable to fully leverage the benefits of the XP movement in mid to large scale development efforts.
While all this information could probably be found on the tools' websites, I thought the book provided a worthwhile condensation. My major problem with the book is that 1/3 of it is devoted to API reference, which I generally find to be a waste of paper.
I would have expected a more thorough job of tying the tools back to Extreme Programming, but those not interested in XP or those already familiar with XP will appreciate the "down to business" style. Much of the sample code is too simplistic to be helpful, and I found the case study to be much less valuable than others have suggested, but both provide enough context to whet one's appetite. Most of these tools have excellent documentation anyway, and this book serves its purpose well: an adequate introduction to some great productivity tools.
I must confess to being unable to comment on the Cactus / HTTPUnit / JMeter tutorials as I gave up after JUnit.
The book mentions XP a couple of times in the introduction, but isn't really about about XP (or tools for XP). It should be called "Open Source Tools for Building J2EE Aplications (with tests)". It wouldn't surprise me if that *was* the original title before the XP bandwagon presented itself.
