Professional JavaTM Tools for Extreme Programming : Ant, XDoclet, JUnit, Cactus, and Maven (Paperback)
暫譯: 專業 JavaTM 工具於極限編程:Ant、XDoclet、JUnit、Cactus 與 Maven (平裝本)

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 知名的寵物商店範例。對於每個工具,作者提供了大量的程式碼範例和設置自動化開發步驟的腳本指導。


目錄:


導言。


第一部分:關鍵概念。


第 1 章:極限編程介紹。


第 2 章:J2EE 部署概念。


第 3 章:使用 CVS 儲存和管理程式碼。


第二部分:自動化建置與持續整合。


第 4 章:Ant 入門。


第 5 章:使用 Ant 建置 Java 應用程式。


第 6 章:使用 Ant 建置 J2EE 應用程式。


第 7 章:XDoclet 入門。


第 8 章:使用 Ant 和 XDoclet 建置 J2EE 網頁元件。


第 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 測試 Servlets 和過濾器。


第 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:本書中使用的範例應用程式。


索引。