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, Jeremy Poteet
     
 

From the Back Cover:

You¿ve heard about Extreme Programming. You might have read articles or books describing the XP process, but what next? How do you implement XP principles into an actual Java project? This unique book explains everything you need for XP development, starting with Ant, the popular Java build tool. The authors describe every stage

Overview

From the Back Cover:

You¿ve heard about Extreme Programming. You might have read articles or books describing the XP process, but what next? How do you implement XP principles into an actual Java project? This unique book explains everything you need for XP development, starting with Ant, the popular Java build tool. The authors describe every stage of a real-world project life cycle¿testing, refactoring, versioning, deployment, and more¿with practical examples that you can immediately put to use in your own projects.

Every aspect of an XP project includes unique challenges, and Extreme Programming with Ant works through each step of the process.

  • Mitigate risks by creating spike tests with Ant buildfiles
  • Add version control and testing with JUnit
  • Automate nightly builds and reporting
  • Deploy applications dynamically using XDoclet
  • Add additional team members after a project is underway
  • Write custom Ant components to facilitate deployment
  • Adapt an XP process for use by other teams or across an enterprise

Throughout the book, the authors include dozens of ideas for extending Ant with useful custom features such as generating UML diagrams and creating reports and metrics on-the-fly. All code and examples have been built, tested, and deployed using Ant 1.5.3.

Editorial Reviews

bn.com
The Barnes & Noble Review
The heart of Extreme Programming (and many other lightweight development processes) is iteration: constant new builds, and continuous feedback. This virtually demands the automation of build, testing, and deployment processes. One tool makes this especially easy: Apache Ant. Now there’s a complete guide to using Ant with lightweight methodologies.

Extreme Programming with Ant presents a book-length case study covering the entire development lifecycle. You’ll first define a complete set of build, testing, and deployment processes that’ll work in many (though not all) projects and environments. These include everything from automatic generation of documentation, to unit testing and version control, and nightly builds that encompass revision control, compiles, unit tests, reports, even metrics. The authors show how to integrate the CruiseControl tool for unattended continuous builds; then turn to deployment -- including tools that can automatically create deployment descriptors for web apps, EJBs, JSPs, and taglibs.

You’ll learn how to scale your project’s build processes as your project grows, and how to deploy your XP/Ant processes enterprise wide. There’s a full chapter on using Ant and XP in commercial development environments: for example, how to obfuscate JARs so they can’t be reengineered. There’s even coverage of changing your processes to reflect a company reorganization.

The authors never shy away from details. You’ll find Ant 1.5.3 XML buildfiles, as well as Java code for extending Ant, and guidance on integrating third-party tools. Among the tasks you’ll master here: detecting missing unit tests, creating UML diagrams during a build, integrating Oracle SQL*Loader, even creating custom loggers that encrypt email for delivery over unsecured networks. Bill Camarda

Bill Camarda is a consultant, writer, and web/multimedia content developer. His 15 books include Special Edition Using Word 2000 and Upgrading & Fixing Networks for Dummies, Second Edition.

Product Details

ISBN-13:
9780672325625
Publisher:
Sams
Publication date:
05/08/2003
Pages:
444
Product dimensions:
7.30(w) x 9.30(h) x 1.10(d)

Meet the Author

Jeremy Poteet is the Chief Security Officer for appDefense, a consulting company specializing in application security. He is a CISSP and was the winner in the 2002 eWeek OpenLabs OpenHack IV competition, and has more than 15 years experience in software development. Jeremy has promoted Ant as the build process and XP as a development methodology for both internal projects and with various clients across the country. He has led numerous Java development and XP projects and has incorporated Ant at several customer sites. He has been involved in every aspect of the software development process, with team sizes ranging from 1 to over 100.

Glenn Niemeyer is a consultant with Technology Partners Inc., a Mid-west based Consulting Firm. He has a Masters Degree in Electrical Engineering from the University of Missouri, and 15 years of experience in software development. Glenn joined Technology Partners in 1996, and has been a technical team leader and project leader on a number of software development projects. He is also active in the area of Application Security. Glenn can be reached at gniemeyer@tech-partners.com

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >