Professional JavaTM Tools for Extreme Programming : Ant, XDoclet, JUnit, Cactus, and Maven (Paperback)

Richard Hightower

  • 出版商: Wrox Press
  • 出版日期: 2004-04-23
  • 定價: $2,275
  • 售價: 1.8$399
  • 語言: 英文
  • 頁數: 768
  • 裝訂: Paperback
  • ISBN: 0764556177
  • ISBN-13: 9780764556173
  • 相關分類: Java 相關技術JUnit
  • 立即出貨(限量) (庫存=1)

買這商品的人也買了...

商品描述

What is this book about?

Professional Java Tools for Extreme Programming is a practical, code-intensive guide to the tools that Enterprise Java developers need when using Extreme Programming (XP) methods. It covers the key tools used to automate the most complex parts of the XP process: application integration, testing, and deployment.

What does this book cover?

The book covers major new releases of Ant, JUnit, and Cactus, plus important new tools, inlcuding XDoclet, Maven, Anthill, and Eclipse.

The book begins with a brief introduction to XP methods. It then jumps right into the tools, providing a brief overview of the uses and features of each tool. Next come tutorials showing best practices for using the tools — the authors show how each tool is used to develop and test the same sample application, based on Sun's well-known Pet Store example. For each tool, the author provides lots of code examples and directions for setting up scripts for automating that development step

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.

商品描述(中文翻譯)

這本書的主題是什麼?
《專業Java工具適用於極限編程》是一本實用的、以程式碼為重的指南,介紹了企業級Java開發人員在使用極限編程(XP)方法時所需的工具。它涵蓋了自動化XP過程中最複雜部分的關鍵工具:應用程式整合、測試和部署。

這本書涵蓋了Ant、JUnit和Cactus的重要新版本,以及XDoclet、Maven、Anthill和Eclipse等重要新工具。

本書以簡短介紹XP方法開始,然後直接介紹工具,簡要概述每個工具的用途和特點。接下來是教程,展示了使用這些工具的最佳實踐方法 - 作者展示了如何使用每個工具來開發和測試基於Sun知名的Pet Store示例的相同樣本應用程式。對於每個工具,作者提供了大量的代碼示例和設置腳本自動化開發步驟的指示。

目錄:
介紹。
第一部分:關鍵概念。
第1章:極限編程介紹。
第2章:J2EE部署概念。
第3章:使用CVS存儲和管理代碼。
第二部分:自動構建和持續集成。
第4章:Ant入門。
第5章:使用Ant構建Java應用程式。
第6章:使用Ant構建J2EE應用程式。
第7章:XDoclet入門。
第8章:使用Ant和XDoclet構建J2EE Web組件。
第9章:使用Ant和XDoclet構建EJB。
第10章:使用Ant和XDoclet構建Struts應用程式。
第11章:創建自定義Ant任務。
第12章:創建XDoclet自定義標籤和模板。
第三部分:自動化Java測試。
第13章:使用JUnit進行單元測試。
第14章:使用JunitPerf進行負載測試。
第15章:使用Bugzilla進行缺陷追踪。
第四部分:自動化J2EE測試。
第16章:使用HttpUnit進行功能測試。
第17章:使用Jmeter進行性能測試。
第18章:Cactus入門。
第19章:使用Cactus測試Servlet和過濾器。
第20章:使用Cactus測試JspTestCases和自定義標籤。
第21章:使用Cactus測試EJB。
第22章:使用jcoverage進行代碼覆蓋率測試。
第五部分:自動化Swing測試。
第23章:使用Jemmy進行Swing測試。
第24章:使用jfcUnit進行Swing測試。
第25章:使用Abbot進行Swing測試。
第六部分:持續集成、項目管理和IDE。
第26章:使用Maven管理項目。
第27章:使用CruiseControl自動化持續集成。
第28章:使用AntHill自動化持續集成。
第七部分:API標籤參考。
第29章:Ant標籤參考。
第30章:Ant API參考。
第31章:JUnit API參考。
第32章:Cactus API參考。
第33章:HttpUnit API參考。
第34章:JUnitPerf API參考。
附錄。
附錄A:本書中使用的示例應用程式。
索引。