AnyBook4Less.com | Order from a Major Online Bookstore |
![]() |
Home |  Store List |  FAQ |  Contact Us |   | ||
Ultimate Book Price Comparison Engine Save Your Time And Money |
![]() |
Title: Java Tools for Extreme Programming: Mastering Open Source Tools Including Ant, JUnit, and Cactus by Richard Hightower, Nicholas Lesiecki ISBN: 047120708X Publisher: John Wiley & Sons Pub. Date: 15 December, 2001 Format: Paperback Volumes: 1 List Price(USD): $39.99 |
Average Customer Rating: 4.09
Rating: 5
Summary: Work smarter
Comment: Extreme Programming (XP), a methodology developed by Kent Beck and Eric Gamma, has joined CASE/UML as a core practice in professional software development. The central tools for XP (JUnit, Ant, Cactus, JMeter, HttpUnit) are now covered in a practical reference by Richard Hightower that explains how these open source tools should be integrated into a project to achieve XP's benefits.
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.
Rating: 5
Summary: building, testing, and deploying J2EE applications
Comment: I find if you are doing J2EE development this book is a must-have! Even if you are not doing XP. Don't let the XP title turn you off from this book.
At first glance at this book, I thought it was trying to be too many things to too many people. It seems to contain every buzzword: Opensource, Extreme Programming, Java, JSP, TagLibs, EJB, etc.
However the book focuses on applying Ant, JUnit and Cactus to J2EE development.
The book is very J2EE and web application centric. A small part of the book had very choppy flow--a few rough spots. Mostly (95%) the book is well written. Generally the book is easy to follow.
My favorite chapters are the ones on JUnitPerf and Cactus.
The case studies are a little long, but they can be skipped and returned to later.
The source code on the website is hidden in plain site. It took a while to find it.
The description above and title miss an important point. The book is J2EE/Jakarta centric. J2EE testing and continous integration can be very difficult without the use of Ant, JUnit, HttpUnit and Cactus.
The description of the book on the companion website clears up the missing points well. I found the description while searching for the source code.
From the companion website:
"Java Tools for eXtreme Programming describes techniques for implementing the Extreme Programming practices of Automated Testing and Continuous Integration using Open Source tools, e.g., Ant, JUnit, HttpUnit, JMeter, and much more."
"The book contains small examples and tutorials on each tool. The examples cover building, deploying, and testing Java and J2EE applications."
"In addition to small examples, there are larger case studies. The case studies are larger more realistic examples. We have case studies involving XSLT, EJB, Struts, JDBC, etc."
"Each case study is complete with an ant build script and several tests, written with JUnit, HttpUnit, Cactus, JUnitPerf and/or JMeter. The case studies focus on building, deploying and testing J2EE applications with Ant and JUnit."
"There is also a reference section for APIs. Instead of rehashing the API documentation, the reference section has example usage, i.e., code examples for the important classes and methods."
"Although this book speaks from an XP perspective, you need not practice XP to benefit from it. For example, you do not have to adopt the entire XP methodology to get value out of this book. Automated testing, for example, can help you refactor code regardless of whether you are doing pair programming or not. Continuous integration can help you detect and fix problems early in the lifecycle of the system regardless of whether your customer is on site or not."
Rating: 5
Summary: The right (practical) way to start up a xp java team
Comment: ... I think it's hard to practice all 12 practices of the xp methodology but there are some, the more practical, that are very useful and necessary even if you don't want to make xp: the incremental test first programming, using JUnit, Cactus, HttpUnit and continuous integration, using Ant. The book is about these and more open source tools, which means that we can just download them, use them and if we can, improve them. And this is great. But open source tools often lacks in printed documetation and if you are not involved in their development it could be difficult to start using them. In this case this book is just what you need.
The first part of the book is simply great, well written (I'm italian, as you can read), there's a lot of code (you can download it from the book site). The author divided the examples in a simple example (just to start to use the tools) and in a case study, to apply the practice in a real world project. In about 240 pages you will use Ant, JUnit, HttpUnit, Cactus, JMeter, JUnitPerf, and if you are not an expert there is an intro about the j2ee deployment architecture too.
The second part isn't so useful: it's the reference for Ant tag and the api reference (about 150 pages). You would pay the same for the book wothout the reference, so consider it as a gift.
![]() |
Title: Java Development With Ant by Erik Hatcher, Steve Loughran ISBN: 1930110588 Publisher: Manning Publications Company Pub. Date: August, 2002 List Price(USD): $44.95 |
![]() |
Title: Programming Jakarta Struts by Chuck Cavaness ISBN: 0596003285 Publisher: O'Reilly & Associates Pub. Date: November, 2002 List Price(USD): $39.95 |
![]() |
Title: EJB Design Patterns: Advanced Patterns, Processes, and Idioms by Floyd Marinescu ISBN: 0471208310 Publisher: John Wiley & Sons Pub. Date: 19 February, 2002 List Price(USD): $35.00 |
![]() |
Title: Core J2EE Patterns: Best Practices and Design Strategies by Deepak Alur, John Crupi, Dan Malks ISBN: 0130648841 Publisher: Prentice Hall PTR Pub. Date: 26 June, 2001 List Price(USD): $44.99 |
![]() |
Title: Struts in Action: Building Web Applications with the Leading Java Framework by Ted Husted, Cedric Dumoulin, George Franciscus, David Winterfeldt, Craig R. McClanahan ISBN: 1930110502 Publisher: Manning Publications Company Pub. Date: November, 2002 List Price(USD): $44.95 |
Thank you for visiting www.AnyBook4Less.com and enjoy your savings!
Copyright� 2001-2021 Send your comments