Java Development with Ant

Java Development with Ant

5.0 1
by Erik Hatcher, Steve Loughran, Matthew Robinson, Pavel Vorobiev
     
 

Encompassing Java-centric software project best practices for designing and automating build, test, and deployment processes using ANT, this book is written for developers using Java in large software projects and those who have reached the limits of classic IDE development systems. Benefiting developers who apply extreme programming methodology to Java projects,

…  See more details below

Overview

Encompassing Java-centric software project best practices for designing and automating build, test, and deployment processes using ANT, this book is written for developers using Java in large software projects and those who have reached the limits of classic IDE development systems. Benefiting developers who apply extreme programming methodology to Java projects, this resource provides detailed coverage of ANT and explains how to use it in large projects and extend it when needed. In addition to using ANT for Java applications, it includes discussions of servlets and J2EE applications, which cover the majority of Java development projects.

Editorial Reviews

The Barnes & Noble Review
Ant is the future of Java software build, test, and deployment. It's cross-platform, quick, extensible, and easy (goodbye makefiles!). It's a de facto standard for open-source Java projects of virtually every size and type. And, with Java Development with Ant, it's more useful and flexible than you ever imagined.

Eric Hatcher and Steve Loughran -- both official Ant project committers -- stretch Ant 1.5 for all it's worth. Through an example development project -- a documentation search engine -- they show how Ant automates mundane tasks and makes the "impossible" possible.

For instance, you'll learn how to use Cruise Control to generate new builds as code is checked into CVS (and automatically notify relevant developers when a build fails). You'll transform XML-based user manuals into web-based documentation (and even PDFs). You'll automate deployment to application servers. You'll test web applications and EJB layers through their own containers, using Cactus. As you may have guessed by now, this book is especially strong on its coverage of Ant add-ons. Ditto for Ant integration with other software, such as the JUnit testing framework and Tomcat application server.

The authors' application case study helps frame discussions of the entire Ant project lifecycle, from crafting reusable, easy-to-maintain build files through testing, continuous integration, packaging, and deployment. They also show Ant at work in developing SOAP/WSDL web services -- even in identifying potential interoperability issues. (Did you know there's an Ant task for compiling .NET C# programs?) Be prepared to be continually amazed -- and amazingly productive. 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.

Read More

Product Details

ISBN-13:
9781930110588
Publisher:
Manning Publications Company
Publication date:
08/28/2002
Pages:
672
Product dimensions:
7.34(w) x 9.32(h) x 1.43(d)

Related Subjects

Meet the Author

Erik Hatcher, one of the original Lucene in Action authors, is a committer on the Ant, Lucene, and Tapestry open-source projects, and coauthor of Manning's award-winning Java Development with Ant.

Steve Loughran has been an active user and developer of Ant since the year 2000, a committer on the project since 2001, and a member of the Apache Software Foundation since 2004. He regularly lectures on the problems of big-system builds, distributed testing, and deployment. He is a research scientist at Hewlett-Packard Laboratories in Bristol, UK.

Robinson is the author of a monthly on-line column at the Swing Connection and works as an engineer for WebScope, Inc.

Pavel Vorobiev has been a software developer for companies such as Right Works and Netfish Technologies where he was a senior software engineer and architect working on the design and development of procurement and B2Bi workflow software involving early-adopter XML standards, J2EE, and web services technologies. He was also a programmer analyst for Merrill Lynch. Pavel is the coauthor of JFC: Java Foundation Classes, Migrating from Java 1.0 to 1.1, The Java 1.1 Programmer's Reference, and The Official Netscape Java 1.1 Programming Book. He lives in San Leandro, California.

Read More

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >

Java Development with Ant 5 out of 5 based on 0 ratings. 1 reviews.
Guest More than 1 year ago
First, I must disclose my bias: I am one of the authors. I'm also one of the Ant developers, and we wrote this book while Ant1.5 was being developed; you could argue both products evolved together.

This book set out to fill in the gaps left in the on-line documentation, adding eight chapters to take beginners step by step through using ant to build, test and deploy projects. We are pretty rigorous about testing early on, and get into JUnit in a big way.

The second section of the 600 page book, by and away the largest section, is how to apply Ant. Here we write up stuff that is on the leading edge of ant-based development: Xdoclet-based struts and EJB coding, Web Service development and testing, how to build and test JNI libaries, and other topics. We also have a chapter on setting up an automated process using third party Ant hosting tools, for a Continuous Integration process.

One area Ant is good at is deployment, so we ended up devoting two whole chapters to the subject; one in each of the first two sections. If you want to get your Java code out to a server somewhere, you can learn a lot from our past experiences, and take on our suggestions as to how to do it right.

The third and final section of the book shows how to extend ant through Java code. We don't go into as much depth there as is possible; in open source projects the whole source tree is there to be examined. We decided not to scare people with the gory details of how Ant works. Instead we give a broad introduction to how to write new Tasks, Selectors, Listeners and Filters; the extension mechanisms that ant offers for advanced users.

We hope you like it. We had a lot of fun writing it!