Developing Enterprise Java Applications with J2EE and UML
暫譯: 使用 J2EE 和 UML 開發企業 Java 應用程式

Khawar Zaman Ahmed, Cary E. Umrysh

  • 出版商: Addison Wesley
  • 出版日期: 2001-10-27
  • 售價: $1,870
  • 貴賓價: 9.5$1,777
  • 語言: 英文
  • 頁數: 368
  • 裝訂: Paperback
  • ISBN: 0201738295
  • ISBN-13: 9780201738292
  • 相關分類: Java 程式語言UML
  • 已絕版

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

相關主題

商品描述

Table of Contents

Foreword.
Preface.

Approach.
Intended Audience.
How to Use This Book.
Chapter Summaries.
Conventions.
Acknowledgements.
1. Introduction to Enterprise Software.

What is Enterprise Software?
Challenges in Developing Enterprise Software
Evolution of Enterprise Software
Enterprise Software and Component Based Software.
Summary.


2. Introduction to J2EE.

What is the Java 2 Platform, Enterprise Edition?
A Brief History of J2EE.
Why J2EE?
Brief Overview of J2EE.
Technologies.
API.
Other J2EE Technologies and API.
Summary.


3. Introduction to the UML.

What is the Unified Modeling Language (UML)?
Overview.
Why use the J2EE and the UML Together?
Challenges in Modeling J2EE in the UML.
Extension Mechanisms in the UML.
Stereotype.
Tagged Value.
Constraint.
The Approach to J2EE UML Modeling.
Summary.


4. UML and Java.

Introduction.
Representing Structure.
Class.
Variable.
Method.
Object.
Interface.
Package.
Representing Relationships.
Inheritance.
Realization.
Dependency.
Association.
Aggregation.
Composition.
Reflexive Relationships.
Summary.


5. Overview of Activities.

Introduction.
What is a Software Development Process?
Brief Overview of Popular Approaches to Software Development.
The Just-Develop-It Approach.
The Waterfall Process.
The Iterative Process.
The Rational Unified Process.
The ICONIX Process.
OPEN Process.
Extreme Programming/Feature-Driven Development.
Approach Used in This Book.
Overview of Major activities.
Chapter 6: Architecture.
Chapter 7: Analyzing the Customer Needs.
Chapter 8: Creating the Design.
Chapters 10-15 Detailed Design.
Chapters 16 Case Study.
Summary.


6. Architecture.

What is Software Architecture?
Why Architecture?
Key Concepts in Enterprise Application Architecture.
Decomposition.
Components.
Frameworks.
Patterns.
Layering.
Tiers.
Approaches to Software Architecture.
The J2EE View of Architecture.
The 4+1view Model of Architecture.
Hofmeister et al Four Views of Architecture.
Putting it All Together.
Summary.


7. Analyzing the Customer Needs.

Introduction.
Why software Analysis and Design?
Problem Analysis.
Use Case Modeling.
Actor.
Use Case.
Finding the Actors.
Finding the Use Cases.
Use Case Diagrams.
Use Case Relationships.
Include.
Extend.
Sequence Diagrams.
Activity Diagrams.
Summary.


8. Creating the Design.

Use Case Analysis.
Use Case Realizations.
Refined Use Case Description.
Sequence Diagrams.
Boundary Objects.
Entity Objects.
Control Objects.
Collaboration Diagrams.
Class Diagrams.
Coalescing the Analysis Classes.
Packaging.
Summary.


9. Overview of J2EE Technologies.

Overview.
The Big Picture.
Servlets.
JavaServer Pages.
Enterprise JavaBeans.
Session Beans.
Entity Beans.
Message-Driven Beans.
Assembly and Deployment.
Case Study.
Summary.


10. Servlets.

Overview.
Introduction to Servlets.
Common Usage.
Best Served Small.
J2EE Versions.
Servlet Lifecycle.
Lifecycle Methods.
Convenience Method.
Required Methods and Tagged Values.
Request Handling.
Response Generation.
HTTP Request Handlers.
Advanced Handler Methods.
Quick Guide to HTTP Requests.
The RequestDispatcher Interface.
Modeling Servlets in UML.
Modeling Other Servlet Aspects.
Servlet forward.
Servlet include.
ServletContext.
Servlet Session Management.
Servlet Deployment and Web Archives.
Identifying Servlets in Enterprise Applications.
Summary.


11. JavaServer Page.

Overview.
Introduction to JavaServer Pages.
Typical uses of JSP.
Model 1 and Model 2 architectures.
JSP versus Servlet.
Anatomy of a JSP.
Template data.
JSP Elements.
Objects Accessible to a JSP Implicitly.
Tag Libraries.
JSP and the UML.
Modeling Client Side Relationships.
Modeling Server Side Relationships.
JSP in Enterprise Applications.
Summary.


12. Session Beans.

Overview.
Introduction to Enterprise JavaBeans.
Enterprise JavaBean Views and the UML.
Basic Structure.
Representing an Enterprise JavaBean in UML.
Client View.
Internal View.
Session Beans.
Popular Beans
J2EE Versions.
Session Beans Types and Conversational State.
Modeling Session Bean Conversational State.
Instance Passivation.
Cleanup and Removal.
Transactions.
Transaction Demarcation.
Bean-Managed Transactions.
Container-Managed Transactions.
The SessionSynchronization Interface.
Limitations for stateless Session Beans.
Transaction Attributes.
Modeling Transactions.
Session Bean Technology.
Home Interface.
Remote Interface.
Implementation Class.
Modeling Interface Behavior.
Session Bean Lifecycle.
Session Bean Common Scenarios.
Modeling Session Bean Relationships.
Session beans and plain Java classes.
Session beans and JavaBeans.
Session beans and servlets.
Session bean and JSP.
Session-session relationships.
Session bean inheritance.
Identifying Session Beans in Enterprise Applications.
Summary.


13. Entity Beans.

Overview.
Introduction to Entity Beans.
Coarse-Grained Business Objects.
Increasing Popularity.
J2EE Versions.
Entity Bean Views and the UML.
Basic Structure.
Client View.
Internal View.
Persistence.
Transactions and Concurrency.
Abstract Persistence.
Abstract Persistence Schema.
EJB Query Language (EJB QL).
Persistence Manager.
Container-Managed Relationships.
Multiplicity.
Directionality.
Duplicating these Relationships in J2EE 1.2.
Local Relationships.
Entity Bean Technology.
Home Interface.
Remote Interface.
Primary Key Class.
Implementation Class.
Persistent Fields.
Entity Bean Lifecycle.
Entity Bean Common Scenarios.
Modeling Entity Bean Relationships.
Entity Bean and other Java classes.
Entity Bean and JavaBeans.
Entity Bean, Servlets and JSPs.
Entity Bean and Session Beans.
Entity Bean to Entity Bean relationships.
Identifying Entity Beans in Enterprise Applications.
Layering.
Summary.


14. Message-Driven Beans.

Overview.
Introduction to Message Beans.
The Java Message Service.
Role of JMS and Message Beans in EJB.
Why use Messaging and Message Beans.
When to use Message Beans.
J2EE Version.
Message Bean Views and the UML.
Basic Structure.
Client View.
UML Benefits for Message Beans.
Modeling Messages.
Modeling Destinations.
Message Bean Technology.
Transactions.
Implementation Class.
Message Bean Lifecycle.
Message Bean Common Scenario.
Modeling Message Bean Relationships.
Modeling relationships with other classes.
Message Bean and other J2EE technologies.
Identifying Message Beans in Enterprise Applications.
Summary.


15. Assembly and Deployment.

Introduction.
Component Modeling.
Component modeling of J2EE technologies.
Representing Web Components.
Representing Enterprise JavaBeans.
Component modeling of enterprise applications.
Deployment Modeling.
Traceability revisited.
Assembly and deployment of Enterprise Java Applications.
Deployment Descriptors
Summary.


16. Case Study.

Introduction.
Case Study Background.
Problem Statement.
Rationale and Assumptions.
HomeDirect Requirements.
Inquiry Services.
Bill Payment Services.
Transaction Services.
Administrative Services.
Inception Phase.
Initial Iteration.
Elaboration Phase.
Elaboration Iteration#1.
Elaboration Iteration#2.
Elaboration Iteration#3.
Remaining Phases.
Summary.


Appendixes.
Index.

商品描述(中文翻譯)

目錄

前言
序言
方法
目標讀者
如何使用本書
章節摘要
慣例
致謝

1. 企業軟體介紹
什麼是企業軟體?
開發企業軟體的挑戰
企業軟體的演變
企業軟體與基於元件的軟體
摘要

2. J2EE 介紹
什麼是 Java 2 平台,企業版?
J2EE 的簡史
為什麼選擇 J2EE?
J2EE 的簡要概述
技術
API
其他 J2EE 技術和 API
摘要

3. UML 介紹
什麼是統一建模語言 (UML)?
概述
為什麼要將 J2EE 和 UML 一起使用?
在 UML 中建模 J2EE 的挑戰
UML 中的擴展機制
刻板印象
標記值
約束
J2EE UML 建模的方法
摘要

4. UML 和 Java
介紹
表示結構

變數
方法
物件
介面

表示關係
繼承
實現
依賴
關聯
聚合
組合
自反關係
摘要

5. 活動概述
介紹
什麼是軟體開發過程?
流行的軟體開發方法簡要概述
Just-Develop-It 方法
瀑布流程
迭代流程
理性統一流程
ICONIX 流程
OPEN 流程
極限編程/特徵驅動開發
本書使用的方法
主要活動概述
第 6 章:架構
第 7 章:分析客戶需求
第 8 章:創建設計
第 10-15 章 詳細設計
第 16 章 案例研究
摘要

6. 架構
什麼是軟體架構?
為什麼需要架構?
企業應用架構中的關鍵概念
分解
元件
框架
模式
分層
層級
軟體架構的方法
J2EE 的架構觀
4+1 視圖模型
Hofmeister 等人的四種架構視圖
整合所有內容
摘要

7. 分析客戶需求
介紹
為什麼需要軟體分析和設計?
問題分析
用例建模
角色
用例
尋找角色
尋找用例
用例圖
用例關係
包含
擴展
序列圖
活動圖
摘要

8. 創建設計
用例分析
用例實現
精煉的用例描述
序列圖
邊界物件
實體物件
控制物件
協作圖
類圖
合併分析類
包裝
摘要

9. J2EE 技術概述
概述
全景圖
Servlets
JavaServer Pages
Enterprise JavaBeans
會話 Beans
實體 Beans
消息驅動 Beans
組裝和部署
案例研究
摘要

10. Servlets
概述
Servlets 介紹
常見用法
最佳小型化
J2EE 版本
Servlet 生命週期
生命週期方法
便利方法
所需方法和標記值
請求處理
響應生成
HTTP 請求處理器
高級處理方法
HTTP 請求快速指南
RequestDispatcher 介面
在 UML 中建模 Servlets
建模其他 Servlet 方面
Servlet 轉發
Servlet 包含
ServletContext
Servlet 會話管理
Servlet 部署和 Web 檔案
在企業應用中識別 Servlets
摘要

11. JavaServer Page
概述
JavaServer Pages 介紹
JSP 的典型用途
Model 1 和 Model 2 架構
JSP 與 Servlets
JSP 的結構
模板數據
JSP 元素
JSP 隱式可訪問的物件
標籤庫
JSP 和 UML
建模客戶端關係
建模伺服器端關係
JSP 在企業應用中的應用
摘要

12. 會話 Beans
概述
Enterprise JavaBeans 介紹
Enterprise JavaBean 視圖和 UML
基本結構
在 UML 中表示 Enterprise JavaBean
客戶端視圖
內部視圖
會話 Beans
流行的 Beans
J2EE 版本
會話 Beans 類型和對話狀態
建模會話 Bean 對話狀態
實例被動化
清理和移除
交易
交易劃分
Bean 管理的交易
容器管理的交易
SessionSynchronization 介面
無狀態會話 Beans 的限制
交易屬性
建模交易
會話 Bean 技術
Home 介面
Remote 介面
實現類
建模介面行為
會話 Bean 生命週期
會話 Bean 常見場景
建模會話 Bean 關係
會話 Beans 和普通 Java 類
會話 Beans 和 JavaBeans
會話 Beans 和 Servlets
會話 Beans 和 JSP
會話之間的關係
會話 Bean 繼承
在企業應用中識別會話 Beans
摘要

13. 實體 Beans
概述
實體 Beans 介紹
粗粒度業務物件
日益受歡迎
J2EE 版本
實體 Bean 視圖和 UML
基本結構
客戶端視圖
內部視圖
持久性
交易和併發
抽象持久性
抽象持久性架構
EJB 查詢語言 (EJB QL)
持久性管理器
容器管理的關係
多重性
方向性
在 J2EE 1.2 中複製這些關係
本地關係
實體 Bean 技術
Home 介面
Remote 介面
主鍵類
實現類
持久字段
實體 Bean 生命週期
實體 Bean 常見場景
建模實體 Bean 關係
實體 Bean 和其他 Java 類
實體 Bean 和 JavaBeans
實體 Bean、Servlets 和 JSP
實體 Bean 和會話 Beans
實體 Bean 之間的關係
在企業應用中識別實體 Beans
分層
摘要

14. 消息驅動 Beans
概述
消息 Beans 介紹
Java 消息服務
JMS 和消息 Beans 在 EJB 中的角色
為什麼使用消息和消息 Beans
何時使用消息 Beans
J2EE 版本
消息 Bean 視圖和 UML
基本結構
客戶端視圖
UML 對消息 Beans 的好處
建模消息
建模目的地
消息 Bean 技術
交易
實現類
消息 Bean 生命週期
消息 Bean 常見場景
建模消息 Bean 關係
與其他類的關係建模
消息 Bean 和其他 J2EE 技術
在企業應用中識別消息 Beans
摘要

15. 組裝和部署
介紹
元件建模
J2EE 技術的元件建模
表示 Web 元件
表示 Enterprise JavaBeans
企業應用的元件建模
部署建模
可追溯性重訪
企業 Java 應用的組裝和部署
部署描述符
摘要

16. 案例研究
介紹
案例研究背景
問題陳述
理由和假設
HomeDirect 需求
查詢服務
帳單支付服務
交易服務
管理服務
啟動階段
初始迭代
詳細階段
詳細迭代 #1
詳細迭代 #2
詳細迭代 #3
剩餘階段
摘要

附錄
索引