Home > Store > Programming > Java

larger cover

Add To My Wish List

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

  • By Glenn Niemeyer, Jeremy Poteet
  • Published May 19, 2003 by Sams.
    • 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

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

  • Description
  • Downloads
  • Extras
  • Reviews
  • Sample Content
  • Updates

Product Author Bios

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

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

Customer Reviews

6 of 6 people found the following review helpful
3.0 out of 5 stars Xtremely interesting, October 4, 2003
By 
Riccardo Audano (Chiavari, Italy) - See all my reviews
(REAL NAME)   
Amazon Verified Purchase(What's this?)
This review is from: Extreme Programming with Ant: Building and Deploying Java Applications with JSP, EJB, XSLT, XDoclet, and JUnit (Paperback)
Pros: Nice writing style, clear and not boring, touches not only Ant but quite a few other open-source tools and the Xtreme programming ways... Cons: its vast breath is counterbalanced by
little depth. Ant 's coverage is appropriate to get you started working with it quickly, and to have you appreciate what this tool can do for you. Forget about being able to work with JUnit or XDoclet just by reading this book. You will barely discover that they exist.. and expect a lot of painful hours spent on the traditionally poor open-source docs.
Overall a good buy though. If you want a more in-depth treatment of Ant I recommend Java Development With Ant
by Erik Hatcher, Steve Loughran
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


6 of 6 people found the following review helpful
5.0 out of 5 stars A great book on Ant and on using the XP processes in Java, August 6, 2003
This review is from: Extreme Programming with Ant: Building and Deploying Java Applications with JSP, EJB, XSLT, XDoclet, and JUnit (Paperback)
Before I proceed further with the review, I should note that I am the co-author of Java Development with Ant, the book which has been the best selling book about Ant to date. Thus if I were critical of this book, you'd know where I was coming from.

But I am not going to be critical -I am going to say nice things about it, and give it 5 stars as anything else would be unfair. This is a really good introduction to Extreme Programming in Java using Ant, Junit and XDoclet.

After a quick intro to the concepts of XP, this book follows the story of a team that is using the XP methodology to get stuff out the door. First Ant is introduced, the JUnit -the latter being the key to test-centric development. Then as the chapters progress, the new problems are introduced and the code and the build process refactored and expanded to adapt. I particularly like the chapter where a business merger forces a team reorganisation -organisation change does effect projects, but most software... Read more

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


1 of 1 people found the following review helpful
4.0 out of 5 stars Good book but no CD or download of example, August 16, 2004
By 
Dev el Oper (Newton, MA USA) - See all my reviews
This review is from: Extreme Programming with Ant: Building and Deploying Java Applications with JSP, EJB, XSLT, XDoclet, and JUnit (Paperback)
Good book but no CD and can't find example buildfile online at samspublishing.com. Page 4 and Appendix D both say you should be able to download the examples.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


Share your thoughts with other customers:
 See all 6 customer reviews...

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

 
Best Value

Book + eBook Bundle  $89.98  $53.99

Book Price: $39.99
eBook Price: $14.00

Buy

This book includes free shipping!

Buy

Book  $49.99  $39.99

Usually ships in 24 hours.

This book includes free shipping!

Buy

eBook (Adobe DRM)  $39.99  $31.99

About Adobe DRM eBooks

Information 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. If you don't already have an Adobe ID, you can create one here.
Purchase Reward: One Month Free Subscription
By completing any purchase on InformIT, you become eligible for an unlimited access one-month subscription to Safari Books Online.

Get access to thousands of books and training videos about technology, professional development and digital media from more than 40 leading publishers, including Addison-Wesley, Prentice Hall, Cisco Press, IBM Press, O'Reilly Media, Wrox, Apress, and many more. 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. That's a total savings of $199.