Extreme Programming with Ant : Building and Deploying Java Applications with Jsp, Ejb, Xslt, Xdoclet, and Junit

Extreme Programming with Ant : Building and Deploying Java Applications with Jsp, Ejb, Xslt, Xdoclet, and Junit

  • Sams(2003/06発売)
  • ただいまウェブストアではご注文を受け付けておりません。 ⇒古書を探す
  • 製本 Paperback:紙装版/ペーパーバック版/ページ数 500 p.
  • 言語 ENG
  • 商品コード 9780672325625
  • DDC分類 005

Full Description


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.

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 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 and 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.