Synopses & Reviews
The Extreme Programming (XP) methodology enables you to build and test enterprise systems quickly without sacrificing quality. In the last few years, open source developers have created or significantly improved a host of Java XP tools, from XDoclet, Maven, AntHill, and Eclipse to Ant, JUnit, and Cactus. This practical, code-intensive guide shows you how to put these tools to work–and capitalize on the benefits of Extreme Programming.
Using an example pet store application, our expert Java developers demonstrate how to harness the latest versions of Ant and XDoclet for automated building and continuous integration. They then explain how to automate the testing process using JUnit, Cactus, and other tools, and to enhance project management and continuous integration through Maven and AntHill. Finally, they show you how to work with XP tools in the new Eclipse IDE.
Complete with real-world advice on how to implement the principles and practices of effective developers, this book delivers everything you need to harness the power of Extreme Programming in your own projects.
What you will learn from this book
- How to automate the building of J2EETM apps and components with Ant and XDoclet
- Techniques for automating Java testing using JUnit
- Procedures for automating servlet, JSP, and other J2EE testing using Cactus
- Ways to automate Swing testing with Jemmy, JFCUnit, and Abbot
- How to manage projects using Maven
- Techniques for automating continuous integration with AntHill and Cruise Control
- How to harness plugins for JUnit, Cactus, and Ant in the Eclipse IDE
- Ways to implement Extreme Programming best practices
Who this book is for
This book is for enterprise Java developers who have a general familiarity with the XP methodology and want to put leading Java XP tools to work in the development process.
Wrox Professional guidesare planned and written by working programmers to meet the real-world needs of programmers, developers, and IT professionals. Focused and relevant, they address the issues technology professionals face every day. They provide examples, practical solutions, and expert education in new technologies, all designed to help programmers do a better job.
Review
“...Practical account of using standard tools…” (Visual Systems Journal, March 2005)
Review
"...an excellent tutorial... I strongly recommend this book..." (CVu, August 2002)
"...an excellent introduction to the world of eXtreme Programming..." (Visual Systems Journal, October 2002)
Book of the Month - “…a much needed book…”(Computer Bulletin, March 2003)
Synopsis
Learn how to use the hottest new Java open source tools for eXtreme Programming
eXtreme Programming (XP) is a new development methodology for building software systems quickly without sacrificing quality. New Java open source tools have appeared recently that help with the most time-consuming and difficult part of the XP process-testing, integration, and deployment. Java Tools for eXtreme Programming is the first complete guide to using those tools for XP. Throughout the book, author Richard Hightower uses a sample application to demonstrate how each Java tool is used. For each tool, he provides a concise description of key concepts, plenty of code examples, and directions for setting up scripts for automating the development step in which the tool is used. The book also features a detailed reference to each of the major tools, complete with coding examples.
* XP is the most popular new development methodology
* A practical, code-intensive guide to the tools that enterprise Java developers need when using the XP methodology to build applications
Companion Web site features sample code, XP software tool updates, and links to useful XP sites.
Synopsis
Learn how to transform XP theory into concrete Java(r) development techniques!
Software developers live by the mantra "evolve or die." Adhering to that philosophy, Richard Hightower and Nicholas Lesiecki present you with an innovative book about Extreme Programming (XP)-- a development methodology that enables developers to build flexible, high-quality software in a quick, efficient, and cost-effective manner. This book teaches you how to implement XP in Java using open source Java XP development tools and how to master the most difficult part of the XP process: testing, integration, and deployment.
Written with experienced Java developers in mind, this book begins with a brief introduction to XP methodology and techniques, and then dives into a sample application used throughout the rest of the book to provide a real-world view of the tools and development practices in action. The authors provide concise descriptions of the key concepts behind each tool, offering code examples and step-by-step tutorials to guide readers to mastery of the technical aspects of XP development.
This book covers the following XP subjects:
* Automated unit and functional testing
* Continuous integration through build and deployment automation
* The value of refactoring and continuous integration
* How Ant, JUnit, JUnitPerf, Cactus, HTTPUnit, and JMeter can be used to achieve the goals of the XP methodology
The companion Web site contains:
* Sample code
* Updates on XP software tools
* Links to useful XP sites
Wiley Computer Publishing's Java (TM) Open Source Library provides professional Java programmers with in-depth guides to the growing number of open source tools and technologies for developing , testing, and deploying Java applications.
Wiley Computer Publishing
Timely. Practical. Reliable.
Visit our Web site at www.wiley.com/compbooks/
About the Author
Richard Hightoweris Chief Mentor/Consultant for ArcMind, a full-service software development company. Rick is a software engineer by training who specializes in software development tools and processes, and developing enterprise applications using J2EE, XML, UML, JDBC, SQL, and open source technologies. Formerly he was the Senior Software Engineer for Java Architecture at Intel’s Enterprise Architecture Lab. Rick is the co-author of
Professional Jakarta Struts, and he contributed two chapters to the book
Mastering Tomcat.
Rick has spoken at a variety of industry conferences and events, including JavaOne, TheServerSide.com Software Symposium JDJEdge, WebServicesEdge, and the Complete Programmer Network software symposiums.
Warner Onstineis a founder and CTO of Interface Guru, a leading Web Usability firm where he consults on back-end technology issues with specific emphasis on how technology and usability work together to present the user with an easy-to-use interface. Warner also runs his own custom development shop, Sandcast Software, which focuses on community and team-oriented software.
Warner got his first computer, a TI-99 4/A, when he was 9 and almost immediately attempted to program a game in Basic on it, which did not work. He stubbornly refuses to get rid of that machine though, along with his trusty NeXT Turbo MonoStation, upon which he got his first taste of Objective-C. This eventually led to Java, skipping right over C++.
His strong community background soon led him to open source, where he has had the chance to meet and interact with several incredible individuals from Jakarta and other open source communities. This also has helped him to keep an open eye on the trends that will soon shape the new landscape—one of his specialties.
Another skill he has is in assisting companies with making the right choices at the right time, utilizing XP, in-depth knowledge of their subject area, and the currently available tools germane to their problem. Warner is also a co-founder and President of the Tucson Java Users Group, which he helped form in 2001, which keeps him rather busy at times. Previously, Warner worked at eBlox, Inc. (a Web development company), Intalio, Inc. (a bay-area Business Process Management Server company), and the University of Arizona Main Library on the Digital Library Team.
Paul Visanis an expert J2EE developer. He serves as a Principal Software Engineer for eBlox, Inc, where he finds that open source tools are invaluable to his work. Paul is a proud Romanian native, now living in the heart of Tucson Arizona. He is a regular contributor to IBM’s developerWorks, for which he has written a series of tutorials on Java Web Services. Paul would like to thank Andrew Barton, Nicholas Lesiecki, Tim Ryan, and Victoria McSherry for helping with this book.
Damon Paynecurrently works as the Microsoft Business Group manager for Centare Group, Ltd. in Milwaukee, WI. Damon is very passionate about open source technology in the Java and Microsoft .NET worlds. His other professional interests include Mobile development, data persistence patterns, and product development. When not programming or speaking Damon enjoys raising his wonderful daughter, Brooke, home theater, and music.
Joseph D. Gradeckiis a software engineer at Comprehensive Software Solutions, where he works on their SABIL product, a enterprise-level securities processing system. He has built numerous dynamic, enterprise applications using Java, AspectJ, servlets, JSPs, Resin, MySQL, BroadVision, XML, and more. He is the author of Mastering JXTA and the coauthor of MySQL and Java Developer's Guide (with Mark Matthews and Jim Cole). Joeholds Bachelors and Masters degrees in Computer Science and is currently pursuing a Ph.D.
Kate Rhodesis a self-taught programmer, serial entrepreneur, and occasional musician with a Japanese nickname and an unstoppable urge to learn new things, solve new problems, and write open source apps. She’s got too many pets, too many projects, and too little time. If she could afford an army of programming minions she’d have one.
She’s ranked better than most and worse than some. She’s worked in impressive places you’ve possibly heard of and unimpressive places you’ve never heard of. She’s done some stuff she’s very proud of and some she isn’t. And so long as life keeps offering up interesting new challenges for her to learn from, she’s happy. If you’re overcome with curiosity you can always see what Kate and her wife are up to at www.masukomi.org.
Robert Watkinsis a Brisbane, Australia-based software developer of nine years’ experience. He’s been called a programmer, a software engineer, an architect, and a few other things (many unprintable), but mostly ignores the titles and does what he has to do. These days he is mostly working in J2EE and related technologies, and is a passionate advocate of agile development techniques. When not working, he spends most of his time with his wife and twin children, and when he gets a chance, he takes time out to read Terry Pratchett novels. Robert is also one of the developers on the CruiseControl project.
Erik Meadeis an employee of Wells Fargo, who attended XPImmersionTwo, interviewed at XPImmersionThree, coached at XPImmersionFour, and hung out on the evenings of XPImmersionFive. He is the edior of junit.org and an evangelist of JUnit, Ant, CruiseControl, HttpUnit, Tomcat, and open source in general. He is also a contributor to JUnitPerf.
Table of Contents
Introduction.
Part I: Key Concepts.
Chapter 1: Introduction to Extreme Programming.
Chapter 2: J2EE Deployment Concepts.
Chapter 3: Storing and Managing Code with CVS.
Part II: Automated Building and Continuous Integration.
Chapter 4: Ant Primer.
Chapter 5: Building Java Applications with Ant.
Chapter 6: Building J2EE Applications with Ant.
Chapter 7: XDoclet Primer.
Chapter 8: Building J2EE Web Components with Ant and XDoclet.
Chapter 9: Building EJBs with Ant and XDoclet.
Chapter 10: Building Struts Apps with Ant and XDoclet.
Chapter 11: Creating Custom Ant Tasks.
Chapter 12: Creating XDoclet Custom Tags and Templates.
Part III: Automated Java Testing.
Chapter 13: Unit Testing with JUnit.
Chapter 14: Load Testing with JunitPerf.
Chapter 15: Defect Tracking with Bugzilla.
Part IV: Automated J2EE Testing.
Chapter 16: Functional Testing with HttpUnit.
Chapter 17: Performance Testing with Jmeter.
Chapter 18: Cactus Primer.
Chapter 19: Testing Servlets and Filters with Cactus.
Chapter 20: JspTestCases and Testing Custom Tags with Cactus.
Chapter 21: Testing EJBs with Cactus.
Chapter 22: Code Coverage with jcoverage.
Part V: Automated Swing Testing.
Chapter 23: Swing Testing with Jemmy.
Chapter 24: Swing Testing with jfcUnit.
Chapter 25: Swing Testing with Abbot.
Part VI: Continuous Integration, Project Management, and IDEs.
Chapter 26: Managing Projects with Maven.
Chapter 27: Automating Continuous Integration with CruiseControl.
Chapter 28: Automating Continuous Integration with AntHill.
Part VII: API Tag Reference.
Chapter 29: Ant Tag Reference.
Chapter 30: Ant API Reference.
Chapter 31: JUnit API Reference.
Chapter 32: Cactus API Reference.
Chapter 33: HttpUnit API Reference.
Chapter 34: JUnitPerf API Reference.
Part VIII: Appendix.
Appendix A: Example Applications Used in This Book.
Index.