Home > Store > Programming > Java

larger cover

Add To My Wish List

Register your product to gain access to bonus material or receive a coupon.

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

Best Value Purchase

Book + eBook Bundle

  • Your Price: $53.99
  • List Price: $89.98
  • About Adobe DRM eBooks
  • This eBook requires the free Adobe® Digital Editions software.

    Before downloading this DRM-encrypted PDF, be sure to:


    • Install the free Adobe Digital Editions software on your machine. Adobe Digital Editions only works on Macintosh and Windows, and requires the Adobe Flash Player. Please see the official system requirements.
    • Authorize your copy of Adobe Digital Editions using your Adobe ID (select AdobeID as the eBook vendor). If you don't already have an Adobe ID, you can create one here.

Individual Purchases

Book

  • Your Price: $39.99
  • List Price: $49.99
  • Usually ships in 24 hours.

eBook (Adobe DRM)

  • Your Price: $31.99
  • List Price: $39.99
  • About Adobe DRM eBooks
  • This eBook requires the free Adobe® Digital Editions software.

    Before downloading this DRM-encrypted PDF, be sure to:


    • Install the free Adobe Digital Editions software on your machine. Adobe Digital Editions only works on Macintosh and Windows, and requires the Adobe Flash Player. Please see the official system requirements.
    • Authorize your copy of Adobe Digital Editions using your Adobe ID (select AdobeID as the eBook vendor). If you don't already have an Adobe ID, you can create one here.
  • Description
  • Downloads
  • Extras
  • Sample Content
  • Updates
  • Copyright 2003
  • Dimensions: 7-3/8" x 9-1/8"
  • Pages: 456
  • Edition: 1st
  • Book
  • ISBN-10: 0-672-32562-4
  • ISBN-13: 978-0-672-32562-5
  • eBook (Adobe DRM)
  • ISBN-10: 0-7686-6273-7
  • ISBN-13: 978-0-7686-6273-3

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.

Downloads

All the code developed for the book in one convenient Zip file for download - 925 kb -- code.zip

All the code developed for the book in one convenient tarred and gzipped file for download - 458 kb -- code.tar.gz

Online Sample Chapters

Extreme Programming with Ant: The First Iteration

The First Iteration

Table of Contents



Introduction.


1. XP and Ant.

What Is XP? The XP Process. Ant and the XP Process. Summary. The Scope of This Book.



2. Creating Initial Spikes.

Introduction to Ant. Elements of a Buildfile. Ant Command-Line Options. A Basic Project-Management Buildfile. Using Properties. Target Dependencies. Directory-Based Tasks. Adding the backupAdvanced Target. Summary.



3. The First Iteration.

Benefits of Automated Testing. Benefits of Integrating Testing into Ant. Types of Automated Testing. What Is Unit Testing? Test First Design. Junit. Version-Control Systems. CVS Access and Logins. Basic Deployment. Summary.



4. The First Complete Build Process.

Generating Documentation. Batchtest. Advanced JUnit Target. CleanImports. Summary.



5. Creating the Automated Nightly Build.

Loggers and Listeners. Filemappers. Filtersets. Path-like Structures. Nightly Build JUnit Target. JunitReport. Reports on Sets of Tests. CruiseControl. Summary.



6. Deployment to a Test Environment.

Working with JAR Files. Deploying Applications as WAR Files. Deployment with Xdoclet. Creating an EAR File with the <ear> Task. Summary.



7. The Team Size Increases.

Why Have Coding Standards? Enforcing Coding Standards. Jalopy. PMD. Checkstyle. IContract. Jdepend. Summary.



8. Deployment to a Production Environment.

CVS Reporting. Creating Technical Release Notes from CVS Comments. Advanced Version Control Techniques for Ant. Performing a Distributed Deployment with Remote Ant. Deploying Information to Databases. Summary.



9. Company Reorganized-Working with a New Subteam.

NetBeans IDE and Ant. Styler. Using the <tempfile> and <purge> Tasks. AntEater. Custom Task for Detection of Missing Unit Tests. Ant's Bean Scripting Framework Capability. Summary.



10. Additional Teams Adopt the XP Process.

Creating a Project-Level Buildfile. Using Jikes for Dependency Checking. Writing a Custom Task for NoUnit. Increasing the Efficiency of Code Generation. Creating Unique Build Numbers. Obfuscating JAR Files. Summary.



11. Creating an Enterprise-wide Solution.

Encrypting the Output of a Build. Incorporating JUnit into the Build Process. Adding Targets to Control a WebLogic Server. Internationalization. Generating UML Diagrams. Summary. Appendices.



Appendix A. Installing Ant.

Choosing the Correct Edition of Ant. Obtaining Ant. Building Ant. Installing Ant. Debugging Your Installation.



Appendix B. Extending Ant.

Custom Tasks. Custom Listeners. Custom Loggers. Some Principles for Developing Custom Tasks, Loggers, Input Handlers. Selectors. Filters. Mappers. Data Types. Summary.



Appendix C. Ant 2

Reasons for the Change. Differences Between Ant 1 and Ant 2. Transitioning to Ant 2.



Appendix D. Complete Buildfile Listings.

eMarket Team Buildfile. iNet Team Buildfile. eSupplier Team Buildfile. Sales Department Buildfile. Network Department Buildfile. NetworksByteDesign Common Buildfile.



Appendix E. Tool Version.

Development and Testing Platforms. Tool Versions. Index.

Errata

The errata for the book is available here in Adobe Portable Document Format (PDF) format. You will need Adobe's Acrobat Reader to view these files. If you do not have the Acrobat Reader installed, you may go to Adobe Systems' web site to download this free reader.

Click on the links below to display the PDF file in a new window. Right-click on the link and select Save As if you want to download it to your hard drive.

Errata for the book - 31 KB -- 0672325624errata.pdf

Submit Errata

FREE

ONE MONTH ACCESS!

WITH PURCHASE


Get unlimited 30-day access to thousands of Books & Training Videos about technology, professional development and digital media If you continue your subscription after your 30-day trial, you can receive 30% off a monthly subscription to the Safari Library for up to 12 months.