Cover image for Professional Java Tools for Extreme Programming : Ant, XDoclet, JUnit, Cactus, and Maven.
Professional Java Tools for Extreme Programming : Ant, XDoclet, JUnit, Cactus, and Maven.
Title:
Professional Java Tools for Extreme Programming : Ant, XDoclet, JUnit, Cactus, and Maven.
Author:
Hightower, Richard.
ISBN:
9780764572746
Personal Author:
Edition:
1st ed.
Physical Description:
1 online resource (769 pages)
Contents:
Professional Java Tools for Extreme Programming -- Credits -- About the Authors -- Contents -- Introduction -- Why Spend So Much Time on the Tools? -- Who Should Read this Book -- Why Open Source? -- Automated Testing: A Summary -- Continuous Integration: A Summary -- How This Book Is Organized -- What's on the Web Site -- Chapter 1: Introduction to Extreme Programming -- XP Overview -- Adopting XP? -- Summary -- Chapter 2: J2EE Deployment Concepts -- The JAR File -- Web Applications and the WAR File -- Enterprise Beans and the EJB JAR File -- Enterprise Applications and the EAR File -- Conclusion -- Chapter 3: Storing and Managing Code with CVS -- The Benefits of Versioning -- About CVS -- CVS Foundations -- Setting Up CVS on the Server -- CVS Pitfalls and Solutions -- Chapter 4: Ant Primer -- Standard Targets -- Chapter 5: Building Java Applications with Ant -- Hello World Recap -- Conclusion -- Chapter 6: Building J2EE Applications with Ant -- The Pet Store Case Study -- Summary -- Chapter 7: XDoclet Primer -- What Is XDoclet? -- Code Generation Templating -- Installing XDoclet -- Configure Ant -- A Simple Example -- XDoclet Tasks, Subtasks, and Templates -- XDoclet Merging -- Summary -- Chapter 8: Building J2EE Web Components with Ant and XDoclet -- Servlet Example -- Webdoclet Tags -- Using Ant for the Configuration -- Using Ant Properties, Init-Params, and Filtering -- Creating Taglibs -- Using Eclipse with Webdoclet -- Summary -- Chapter 9: Building EJBs with Ant and XDoclet -- Generating XDoclet EJBs -- Summary -- Chapter 10: Building Struts Apps with Ant and XDoclet -- Brief Introduction to Struts -- Installing Struts -- A Sample Application -- Struts and XDoclet -- Summary -- Chapter 11: Creating Custom Ant Tasks -- How Ant Works -- An Example Task -- A Skeleton Task Example -- Building a New Task -- Using the New Task -- Summary.

Chapter 12: Creating XDoclet Custom Tags and Templates -- XDoclet Architecture -- A Simple Template -- Building an XDoclet Template -- Summary -- Chapter 13: Unit Testing with JUnit -- Case Study: Adding an Entity Bean to the Pet Store -- Summary -- Chapter 14: Load Testing with JUnitPerf -- JUnitPerf Concepts -- TimedTest Example -- LoadTest Example -- Summary -- Chapter 15: Defect Tracking with Bugzilla -- Enter Bugzilla -- Bugzilla Setup -- Bugs in Bugzilla -- Security -- Summary -- Chapter 16: Functional Testing with HttpUnit -- Why Functional Testing? -- Why HttpUnit? -- HttpUnit Basics -- Advanced Topics in HttpUnit -- Spider Example -- Summary -- Chapter 17: Performance Testing with JMeter -- Overview of JMeter -- JMeter Concepts -- Using JMeter to Test a Web Application Navigation -- Using JMeter to Test the Web Application's Form Entry -- Using JMeter to Test Performance of Our RDBMS -- Case Study: The Pet Store -- Summary -- Chapter 18: Cactus Primer -- Why In-Container Testing? -- Why Cactus? -- Installing Cactus -- Cactus Architecture -- Cactus with Ant -- Summary -- Chapter 19: Testing Servlets and Filters with Cactus -- Testing Servlets -- Testing Filters -- Summary -- Chapter 20: JspTestCases and Testing Custom Tags with Cactus -- Testing Simple Tags -- Testing Tag Attributes and Page Interaction -- Testing Body Tags -- Testing Iteration Tags -- Server-Side Assertion Facilities -- Working with Nested Tags -- Testing Auxiliary Tag Components -- Case Study: The Pet Store with Custom Tags -- Summary -- Chapter 21: Testing EJBs with Cactus -- Creating an Ant Buildfile to Run the Test -- Case Study: Adding an Entity Bean to the Pet Store -- Summary -- Chapter 22: Code Coverage with jcoverage -- Why Code Coverage? -- jcoverage Primer -- 100% Go Code and 80% Exception Handling -- Other Tools: GroboUtils -- Conclusion.

Chapter 23: Swing Testing with Jemmy -- Jemmy Primer -- Testing a Swing Application with Jemmy -- Summary -- Chapter 24: Swing Testing with jfcUnit -- jfcUnit Primer -- Testing a Swing Application with jfcUnit -- Summary -- Chapter 25: Swing Testing with Abbot -- Abbot and Costello Primer -- Recording and Using Our Test -- Advantages of Abbot -- Chapter 26: Managing Projects with Maven -- Maven Primer -- Maven Architecture -- Understanding Jelly -- Project Management with Maven -- Case Study: Managing Our Pet Store Project with Maven -- Summary -- Chapter 27: Automating Continuous Integration with CruiseControl -- Chapter 28: Automating Continuous Integration with AntHill -- AntHill Primer -- Obtaining and Installing AntHill -- An AntHill HelloWorld -- Working with Dependencies -- Using AntHill with Petstore -- Chapter 29: Ant Tag Reference -- Ant Command Line Options -- Ant Parent Elements -- Ant Key Tasks -- Directory and File System Tasks -- External Execution Tasks -- File Library Tasks -- File Readers, Writers, and Tokenizers -- Source Control Tasks -- Some Key Optional Tasks -- Frequently Used Nested Parameters and Elements -- Chapter 30: Ant API Reference -- Package org. apache. tools. ant -- Putting it All Together -- Chapter 31: JUnit API Reference -- Package junit. framework -- Package junit. extensions -- Chapter 32: Cactus API Reference -- Package org. apache. cactus -- Package org. apache. cactus. util -- Package org. apache. cactus. server -- Chapter 33: HttpUnit API Reference -- Package com. meterware. httpunit -- Chapter 34: JUnitPerf API Reference -- Package com. clarkware. junitperf -- Appendix A: Example Applications Used in This Book -- Simple Example: Model 2 Hello World -- Case Study Example: The Pet Store -- Baseline Version of the Pet Store -- Setting Up the Database with Test Data: A Small Taste Of Ant -- Complete Listings.

Conclusion -- Index.
Abstract:
What is this book about? 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 does this book cover? Here are some of the things you'll find out about in this book: How to automate the building of J2EE 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 is this book 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.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: