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

Category: Book

Used starting at $3.87

New starting at $5.62

Buy it

Product Description

From the Back Cover:

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

Every aspect of an XP project includes unique challenges, andExtreme 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 forextending Ant with useful custom features such as generating UMLdiagrams and creating reports and metrics on-the-fly. All code andexamples have been built, tested, and deployed using Ant 1.5.3.


Product Details

Publisher Sams
ISBN 0672325624
Format Paperback
Author Glenn Niemeyer,Jeremy Poteet
EAN 9780672325625
UPC 752063325629
Label Sams
Edition illustrated edition
Dewey Decimal Number 005
Studio Sams
Number Of Pages 456
Title Extreme Programming with Ant: Building and Deploying Java Applications with JSP, EJB, XSLT, XDoclet, and JUnit
Publication Date 2003-05-29
Manufacturer Sams

Customer Reviews

Good book but no CD or download of example

Review by Dev el Oper, 2004-08-16

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.


Not a book about XP

Review by Ilja Preuß, 2003-11-10

As the subtitle indicates, this is a tools book, not a process book. Consequently, the XP practices are merely used as a motivation to introduce new Ant features into the build process - and sometimes this feels rather far stretched. In many cases, a good XP team should try a more team- and less tool-oriented solution than presented in this book. Also, the repeatedly mentioned "lead developer" coming to important decisions by himself feels quite contrary to XPs "Whole Team" practice.

So the book concentrates on covering Ant, and starts quite promising in this regard. Using a case study to show how a build script can evolve with the needs of a project is a nice idea and the introduction to Ant is concise and to the point. Unfortunately, the book later starts to rush through the different topics, a big amount of it covering how to integrate different tools into the build process. There are also some much-less-than-optimal examples, which makes you wonder about the depth of knowledge of the authors; they even show a hand-made solution to implementing boolean attributes for custom tasks, even though Ant comes with a much more elegant inbuild mechanism.

As an advanced "Ant build master", this book still taught me interesting new things about the tool. I'd guess that most beginners would be better off with a book more concentrating on the core concepts of Ant. If you want a good book on Extreme Programming, you will definitively have to look elsewhere.


Xtremely interesting

Review by Riccardo Audano, 2003-10-04

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


A great book on Ant and on using the XP processes in Java

Review by Steve Loughran, 2003-08-07

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 engineering books ignore such events, along with team member dynamics in general. It also repeatedly reinforces the need for automated builds and tests, and has some basic coverage of CruiseControl. CC is the system that keeps our team in check: whenever you break the build, you get email. I get a lot of email.

It doesn't go into significant depth in Ant -you will (of course) need the on line documentation, and I would also point my own book. Mostly this isn't an issue -the only place where I had significant differences of opinion was when the book recommended using the task to precompile JSP pages for tomcat. If the authors had tracked the Ant dev mail list, or the open bugreps related to this task, they'd know not to encourage that, because the underlying jasperc doesnt really let you. Also there was some commentary on Ant2.0, which is not going to be the complete rewrite promised on the web site. Again, involvement in the open source project would provide such information.

These are minor issues with the non-core parts of Ant and the book. The central theme of the book: using XP, JUnit, Ant and XDoclet for building, testing and deployment of server side code is well covered, and that is what matters.

If you want to get into Ant, this is one of the two Ant books to consider owning -ideally you should get both :) I think I'd also get one of the XP series books, like XP installed, for a more abstract treatise on XP, Fowler's Refactoring and a copy of IntelliJ IDEA, the best XP-centric IDE for Java.


Extremely Useful Book for a Software Developer

Review by Rebecca Hughes, 2003-07-03

This book is a "must-have" for anyone who will be leading a development project, in addition to being extremely useful for any developer. The extreme programming section is wonderful - it does a great job of explaining a very useful methodology for delivering a successful, on-time, within-budget project. The book also thoroughly explains each topic (such as using Ant for compilation, unit testing, etc) and gives plenty of examples so it's easy to understand. I would definitely use this book every step of the way for a major development project!


Similar Items
Java Development with Ant

Java Development with Ant

Used starting at $1.63

New starting at $7.66

Buy It More Info
Pro Apache Ant

Pro Apache Ant

Used starting at $3.49

New starting at $3.49

Buy It More Info
Java Power Tools

Java Power Tools

Used starting at $28.87

New starting at $31.00

Buy It More Info

Powered by DevHub. Enhanced by Evri

Archives | Privacy Policy | Directory | Contact | Advertise

This site is not affiliated with XDoclet. It is a fan site and part of the Epik.com direct navigation network. To contribute content to this site, please contact us