Java Open Source Programming : with XDoclet, JUnit, WebWork, Hibernate
暫譯: Java 開源程式設計:使用 XDoclet、JUnit、WebWork、Hibernate

Joseph Walnes, Ara Abrahamian, Mike Cannon-Brookes, Patrick A. Lightbody

  • 出版商: Wiley
  • 出版日期: 2003-11-28
  • 售價: $1,780
  • 貴賓價: 9.5$1,691
  • 語言: 英文
  • 頁數: 480
  • 裝訂: Paperback
  • ISBN: 0471463620
  • ISBN-13: 9780471463627
  • 相關分類: Java 相關技術Java 程式語言JUnit
  • 已過版

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

相關主題

商品描述

 

Summary

Discover how to develop full-scale J2EE™ applications quickly and efficiently using the best Open Source tools

Written by leading authorities in the field, this book shows you how to leverage a suite of best-of-breed Open Source development tools to take the pain out of J2EE and build a complete Web-based application. You’ll combine these tools to actually reduce the points of failure in your application, while increasing overall system stability and robustness. Along with the tools introduced here, you’ll develop the PetSoar application, which follows the PetStore application used by Sun Microsystems to demonstrate features of J2EE. With PetSoar, the authors focus on developing a maintainable and flexible application, rather than showcasing the end result, so that you can apply the material in your own projects.

In addition, the authors provide methods for utilizing Open Source software components for each stage of the development process.

The Open Source products covered include:

  • Hibernate to aid with simple,flexible, and speedy transparent object persistence
  • OpenSymphony WebWork to allow for pluggable view technologies and extensible configuration
  • JUnit and Mock Objects to assist with rapid and robust unit testing
  • XDoclet to assist with generating code and configuration files automatically
  • Jakarta Lucene to add Google-style smart search capabilities to data stores
  • OpenSymphony SiteMesh to aid in the creation of large sites with a common look and feel
  • OpenSymphony OSCache to easily cache slow dynamic sections of Web sites resulting in faster-loading pages

Table of Contents

Acknowledgments.

About the Authors.

Introduction.

Part One: Introduction.

Chapter 1: Overview of the Book.

Chapter 2: Application Overview.

Part Two: Building Your Open Source Toolbox.

Chapter 3: Unit Testing with JUnit.

Chapter 4: Testing Object Interactions with Mocks.

Chapter 5: Storing Objects with Hibernate.

Chapter 6: Model View Controller with WebWork.

Chapter 7: Simplifying Layout with SiteMesh.

Chapter 8: Adding Search Capabilities with Lucene.

Chapter 9: Generating Configuration Files with Xdoclet.

Chapter 10: Communication and Tools.

Chapter 11: Time-Saving Tools.

Part Three: Developing the Application.

Chapter 12: Setting Up the Development Environment.

Chapter 13: Understanding Test Driven Development.

Chapter 14: Managing Lifecycles and Dependencies of Components.

Chapter 15: Defining the Domain Model.

Chapter 16: Creating a Web-Based Interface.

Chapter 17: Defining Navigation, Layout, Look, and Feel.

Chapter 18: Implementing Browse and Search Capabilities.

Chapter 19: Adding a Shopping Cart.

Chapter 20: Securing the Application.

Index.

商品描述(中文翻譯)

摘要

了解如何快速且有效地使用最佳的開源工具開發全規模的 J2EE™ 應用程式。

本書由該領域的領先專家撰寫,展示了如何利用一套最佳的開源開發工具來減輕 J2EE 的開發負擔,並構建完整的基於網頁的應用程式。您將結合這些工具,實際上減少應用程式中的故障點,同時提高整體系統的穩定性和健壯性。除了介紹的工具外,您還將開發 PetSoar 應用程式,該應用程式遵循 Sun Microsystems 用於展示 J2EE 特性的 PetStore 應用程式。透過 PetSoar,作者專注於開發可維護且靈活的應用程式,而不是展示最終結果,以便您能將所學應用於自己的專案中。

此外,作者提供了在開發過程的每個階段利用開源軟體組件的方法。

本書涵蓋的開源產品包括:
- Hibernate 以協助簡單、靈活且快速的透明物件持久化
- OpenSymphony WebWork 以允許可插拔的視圖技術和可擴展的配置
- JUnit 和 Mock Objects 以協助快速且穩健的單元測試
- XDoclet 以協助自動生成程式碼和配置檔案
- Jakarta Lucene 以為資料存儲添加 Google 風格的智能搜索功能
- OpenSymphony SiteMesh 以協助創建具有共同外觀和感覺的大型網站
- OpenSymphony OSCache 以輕鬆緩存網站中緩慢的動態部分,從而加快頁面加載速度

目錄

致謝。
關於作者。
導言。
第一部分:導言。
第 1 章:本書概述。
第 2 章:應用程式概述。
第二部分:建立您的開源工具箱。
第 3 章:使用 JUnit 進行單元測試。
第 4 章:使用 Mocks 測試物件互動。
第 5 章:使用 Hibernate 儲存物件。
第 6 章:使用 WebWork 的模型-視圖-控制器。
第 7 章:使用 SiteMesh 簡化佈局。
第 8 章:使用 Lucene 添加搜索功能。
第 9 章:使用 Xdoclet 生成配置檔案。
第 10 章:通信與工具。
第 11 章:節省時間的工具。
第三部分:開發應用程式。
第 12 章:設置開發環境。
第 13 章:理解測試驅動開發。
第 14 章:管理組件的生命週期和依賴性。
第 15 章:定義領域模型。
第 16 章:創建基於網頁的介面。
第 17 章:定義導航、佈局、外觀和感覺。
第 18 章:實現瀏覽和搜索功能。
第 19 章:添加購物車。
第 20 章:保護應用程式。
索引。