Java Extreme Programming Cookbook
暫譯: Java 極限編程食譜

Eric M. Burke, Brian M. Coyner

  • 出版商: O'Reilly
  • 出版日期: 2003-04-15
  • 售價: $1,420
  • 貴賓價: 9.5$1,349
  • 語言: 英文
  • 頁數: 352
  • 裝訂: Paperback
  • ISBN: 0596003870
  • ISBN-13: 9780596003876
  • 相關分類: Java 程式語言
  • 已過版

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

相關主題

商品描述

Extreme Programming does not mean programming naked while rollerblading down the side of the Grand Canyon. It does mean a new approach to software development that is both radical and common-sense. Unlike many software development methodologies, XP has been accepted quickly because its core practices--particularly code sharing, test-first development, and continuous integration--resonated immediately with software developers everywhere. Instead of impressing developers with a body of theory, XP got programmers to say, "Yeah, that's how I'd like to work."

Oddly enough, although most developers turn to Extreme Programming methods in order to code real, hands-on, and extensible projects quickly ("Code comes first"), most books on Extreme Programming insist on focusing on the theory and not the practice.

Not the Java Extreme Programming Cookbook.

Brimming with over 100 "recipes" for getting down to business and actually doing XP, the Java Extreme Programming Cookbook doesn't try to "sell" you on XP; it succinctly documents the most important features of popular open source tools for XP in Java--including Ant, Junit, HttpUnit, Cactus, Tomcat, XDoclet--and then digs right in, providing recipes for implementing the tools in real-world environments.

Each recipe offers solutions that help you put an extreme programming environment together: then provides code for automating the build process and testing. Although the time saved using any one of these solutions will more than pay for the book, Java Extreme Programming Cookbook offers more than just a collection of cut-and-paste code. Each recipe also includes explanations of how and why the approach works, so you can adapt the techniques to similar situations.

One of the biggest challenges facing developers today is sorting through the wide variety of tools available form various source and figuring out how to them effectively. The recipes in Java Extreme Programming Cookbook showcase how to use the most important features of these XP tools. Many of these tools are geared towards unit testing, while others are invaluable for continuous integration; with these practical examples, you'll be able to choose the most effective tools to accomplish your goals, then implement them in a cohesive development environment quickly.

If you want to set up a test-driven development environment that allows you to focus on writing testable code--now--this book will prove invaluable.

Table of Contents

Preface

1. XP Tools

2. XP Overview

3. Ant

4. JUnit

5. HttpUnit

6. Mock Objects

7. Cactus

8. JUnitPerf

9. XDoclet

10. Tomcat and JBoss

11. Additional Topics

Index

商品描述(中文翻譯)

極限編程(Extreme Programming)並不意味著在大峽谷的邊緣滑輪溜冰時赤裸裸地編程。它代表了一種全新的軟體開發方法,既激進又合乎常理。與許多軟體開發方法論不同,XP迅速被接受,因為其核心實踐——特別是代碼共享、測試優先開發和持續整合——立即引起了全球軟體開發者的共鳴。XP並不是用一堆理論來打動開發者,而是讓程式設計師們說:「是的,這就是我想要的工作方式。」

奇怪的是,儘管大多數開發者轉向極限編程方法是為了快速編寫真實的、實用的和可擴展的專案(「代碼優先」),但大多數關於極限編程的書籍卻堅持專注於理論而非實踐。

但《Java極限編程食譜》(Java Extreme Programming Cookbook)並非如此。

這本書充滿了超過100個「食譜」,幫助讀者實際進行XP,並不試圖「推銷」XP;它簡潔地記錄了在Java中流行的開源工具的最重要特徵——包括Ant、JUnit、HttpUnit、Cactus、Tomcat、XDoclet——然後直接進入主題,提供在真實環境中實施這些工具的食譜。

每個食譜都提供幫助你組建極限編程環境的解決方案,然後提供自動化構建過程和測試的代碼。雖然使用這些解決方案中的任何一個所節省的時間將足以支付這本書的費用,但《Java極限編程食譜》提供的不僅僅是一系列的剪貼代碼。每個食譜還包括了該方法如何運作及其原因的解釋,讓你能夠將這些技術適應於類似的情況。

當今開發者面臨的最大挑戰之一是從各種來源中篩選出可用的各種工具,並找出如何有效地使用它們。《Java極限編程食譜》展示了如何使用這些XP工具的最重要特徵。這些工具中的許多是針對單元測試的,而其他一些則對持續整合至關重要;通過這些實用的範例,你將能夠選擇最有效的工具來實現你的目標,然後迅速在一個有凝聚力的開發環境中實施它們。

如果你想建立一個測試驅動的開發環境,讓你能夠專注於編寫可測試的代碼——現在——這本書將是無價的。

目錄

前言

1. XP工具
2. XP概述
3. Ant
4. JUnit
5. HttpUnit
6. 模擬物件
7. Cactus
8. JUnitPerf
9. XDoclet
10. Tomcat和JBoss
11. 附加主題
索引