J2EE Unleashed (Paperback)
暫譯: J2EE 解放之路 (平裝本)

Mark Ashnault, Ziyad Dean, Thomas Garben, Paul R. Allen, Joseph J. Bambara, Sherry Smith

  • 出版商: SAMS
  • 出版日期: 2001-10-05
  • 定價: $1,800
  • 售價: 2.2$399
  • 語言: 英文
  • 頁數: 864
  • 裝訂: Paperback
  • ISBN: 0672321807
  • ISBN-13: 9780672321801
  • 相關分類: Java 程式語言SQL
  • 立即出貨(限量)

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

商品描述

 

J2EE Unleashed presents techniques and examples for building applications based on the Java 2 Enterprise Edition development model. The goal of this book is not to teach the J2EE specification but to illustrate the best practices for developing J2EE applications. It will cover the most commonly used J2EE API's as well as migration techniques that can be used to port a J2EE application from one platform to another.

The book will discuss all of these platforms with an emphasis on the SilverStream application server, which is J2EE compliant and certified for Windows and several UNIX platforms. Moreover, the book will illustrate how a J2EE application can interface with most SQL based DBMS platforms including ORACLE, INFORMIX, Microsoft SQL Server 7, SYBASE, IBM DB2 as well as others.

Table of Contents

Introduction.
1. Java, Distributed Computing, and J2EE.

Background on Java. Companies Must Re-Invent Themselves for the Web. Requirements of Web Architecture. Web Application Life Cycle. J2EE APIs and Certification. XML and J2EE. The Packaging of J2EE Applications. Summary.


2. The Design and Development of a J2EE Application.

J2EE Layers. J2EE Application Components. J2EE Architecture. Development Methodology and Process. Sample Applications Introduced. Summary.


3. Designing the J2EE Application.

History of Modeling Tools. Overview. Designing an Application. Modeling a Web Application. System Modeling. The Unified Modeling Language. Modeling Web Pages. EJB UML Mapping. Tool Support. Summary.


4. Task List for Building J2EE Applications.

Completing Prerequisite Tasks. Designing the Database. Creating Tables and Columns. Defining the Application. Creating a Back-End Interface. Creating the Interface. Building Pages. Creating Data Access Objects. Validating Your Code. Refining Your Code. Summary.


5. Build Resource Access: JNDI and LDAP.

Naming and Directory Services. What is JNDI? Finding Sample Application Resources. JNDI Architecture. JNDI Operations. Lightweight Directory Access Protocol. JNDI/LDAP Practical Examples. Summary.


6. Build Data Access: JDBC.

Introduction. JDBC Architecture: API and Drivers. The JDBC API. Retrieving and Updating Data. SQL-to-Java Data Types. JDBC Exception Types. Metadata. Scrollable Resultsets. Updating Rows. Transaction Support. Batch Statements. JDBC 2.1 New Data Types. JDBC 2.0 Optional Package API: javax.sql. Case Study: The SilverStream Application Server. Summary.


7. Build Control Flow: Servlets.

What Are Servlets? Benefits of Servlets. Use as Controller in MVC and the Sample Application. Basic HTTP. Servlet Container. Servlet API. Service Method Detail. HTML Clients. Servlet Life Cycle. ServletContext. HTTP Request Header. HTTP Response Header Session Management. Dispatching Requests. Servlets with JDBC. Web Applications. Using Servlets in the SilverStream Application Server. Servlet 2.3 API. Summary.


8. JavaServer Pages: Introduction .

Features of JSP Pages. The Components of a JSP Page. Developing and Deploying JSP Pages. JSP Architectures. Conclusion: JSP Pages Are a Big Part of the Enterprise Java _Solution.


9. JavaServer Pages: Practical Development with Tag Libraries.

JSP Syntax. Tag Libraries. Summary.


10. Building the User Interface to the Application.

The Model-View-Controller Paradigm. The Struts Framework. Summary.


11. Enterprise JavaBeans: Introduction.

Enterprise JavaBeans Overview. Distributed Programming Overview. EJB Framework. Session and Entity Beans. Attributes of a Bean. Parts of a Bean. Container-Managed Persistence (CMP) and Bean-Managed _Persistence (BMP). The Life Cycle of Enterprise JavaBeans. Java Message Service (JMS) and Message-Driven Beans (MDB). Distributed Programming Services. Common Object Request Broker Architecture (CORBA) _and Remote Method. Invocation (RMI). Transactions and Transaction Management. Security. Deployment. Personal Roles for EJB Development. Corporate Roles. Summary.


12. Enterprise JavaBeans: Building Session Beans.

Creating Session Beans. Packaging and Deploying a Session Bean. Changes to Bean Code. Finding Session Beans from a Client. Calling Session Beans from a Client. Summary.


13. Enterprise JavaBeans: Building Entity Beans.

Defining Entity Beans. Container- and Bean-Managed Persistence. The Anatomy of a CMP Entity Bean. Developing Entity Beans. A Closer Look at Developing Entity Beans. EJB Clients. Using a GUI Tool to Configure, Package, and Deploy _Entity Beans. Summary.


14. Messaging with E-mail: JavaMail.

E-mail Messaging in General. What Does JavaMail Do? The Provider Registry. JavaMail Architecture and Primary Classes. Sending and Receiving Messages. Using JavaMail in JavaServer Pages. Summary.


15. Messaging with Applications: Java Message Service (JMS).

Messaging Basics. Where Does JMS Fit In? JMS Components. Producing and Consuming Messages. JMS Examples. JMS Implementation and Deployment Issues. Summary.


16.Data Exchange with XML.

What Is XML? Structure of an XML Document. Unparsed Data. Processing Instructions. Document Type Definitions (DTDs). XML Schema. XML Parsers. Document Object Model (DOM). Simple API for XML (SAX). XML Output. XSL. Style Sheet Structure. Applying Style Sheets. XML Linking Language (XLink). XML Security. Summary.


17. Validating the Application.

Java and Testing. Quality Control Through Debugging. Debugging Techniques. Correcting an Error. Testing and Development Phases. Testing Methods and Techniques. Web Site Test Tools and Site Management Tools. Summary.


18. Making the Application Perform.

Overview. Writing High-Performance Applications. Preparing for Performance Tuning. Guide to Diagnosis and Cure. What Affects Server Performance? Database Monitoring and Tuning Tools. Summary.


19. Deploying the Application.

Java's Write Once, Run Anywhere Promise. The Assembly Process. The Deployment Process. Summary.


Appendix A. Documentation for Sample Applications.

SilverBooks. Java Pet Store. Summary.


Appendix B. Related Tools.

Development Tools. Application Servers. Modeling and Object/Report Generation Tools. Messaging and XML Tools. Validation and Performance Monitoring Tools.


Appendix C. Quick Reference Material.

J2EE APIs. J2EE Software Development Kit (SDK) Installation Instructions. Naming Conventions for J2EE.


Index.

商品描述(中文翻譯)

《J2EE Unleashed》介紹了基於 Java 2 Enterprise Edition 開發模型的應用程式建構技術和範例。本書的目標不是教授 J2EE 規範,而是說明開發 J2EE 應用程式的最佳實踐。它將涵蓋最常用的 J2EE API 以及可用於將 J2EE 應用程式從一個平台移植到另一個平台的遷移技術。

本書將討論所有這些平台,特別強調 SilverStream 應用伺服器,該伺服器符合 J2EE 標準並獲得 Windows 和多個 UNIX 平台的認證。此外,本書將說明 J2EE 應用程式如何與大多數基於 SQL 的資料庫管理系統(DBMS)平台進行介接,包括 ORACLE、INFORMIX、Microsoft SQL Server 7、SYBASE、IBM DB2 等。

**目錄**

引言。
1. Java、分散式計算與 J2EE。
背景介紹 Java。公司必須為網路重新創新。網路架構的需求。網路應用程式生命週期。J2EE API 和認證。XML 與 J2EE。J2EE 應用程式的包裝。總結。

2. J2EE 應用程式的設計與開發。
J2EE 層次。J2EE 應用程式元件。J2EE 架構。開發方法論與過程。介紹範例應用程式。總結。

3. 設計 J2EE 應用程式。
建模工具的歷史。概述。設計應用程式。建模網路應用程式。系統建模。統一建模語言(UML)。建模網頁。EJB UML 對應。工具支援。總結。

4. 建立 J2EE 應用程式的任務清單。
完成前置任務。設計資料庫。創建表格和欄位。定義應用程式。創建後端介面。創建介面。建立頁面。創建資料存取物件。驗證程式碼。精煉程式碼。總結。

5. 建立資源存取:JNDI 和 LDAP。
命名和目錄服務。什麼是 JNDI?尋找範例應用程式資源。JNDI 架構。JNDI 操作。輕量級目錄存取協定(LDAP)。JNDI/LDAP 實用範例。總結。

6. 建立資料存取:JDBC。
介紹。JDBC 架構:API 和驅動程式。JDBC API。檢索和更新資料。SQL 與 Java 資料類型。JDBC 異常類型。元資料。可滾動的結果集。更新列。交易支援。批次語句。JDBC 2.1 新資料類型。JDBC 2.0 可選包 API:javax.sql。案例研究:SilverStream 應用伺服器。總結。

7. 建立控制流程:Servlet。
什麼是 Servlet?Servlet 的好處。在 MVC 中作為控制器的使用及範例應用程式。基本 HTTP。Servlet 容器。Servlet API。服務方法詳情。HTML 客戶端。Servlet 生命週期。ServletContext。HTTP 請求標頭。HTTP 回應標頭會話管理。請求調度。使用 JDBC 的 Servlet。網路應用程式。在 SilverStream 應用伺服器中使用 Servlet。Servlet 2.3 API。總結。

8. JavaServer Pages:介紹。
JSP 頁面的特性。JSP 頁面的組件。開發和部署 JSP 頁面。JSP 架構。結論:JSP 頁面是企業 Java 解決方案的重要組成部分。

9. JavaServer Pages:使用標籤庫的實用開發。
JSP 語法。標籤庫。總結。

10. 建立應用程式的使用者介面。
模型-視圖-控制器(MVC)範式。Struts 框架。總結。

11. 企業 JavaBeans:介紹。
企業 JavaBeans 概述。分散式編程概述。EJB 框架。會話和實體 Beans。Bean 的屬性。Bean 的組成部分。容器管理持久性(CMP)和 Bean 管理持久性(BMP)。企業 JavaBeans 的生命週期。Java 訊息服務(JMS)和基於訊息的 Beans(MDB)。分散式編程服務。通用物件請求代理架構(CORBA)和遠端方法調用(RMI)。交易和交易管理。安全性。部署。EJB 開發的個人角色。企業角色。總結。

12. 企業 JavaBeans:建立會話 Beans。
創建會話 Beans。打包和部署會話 Bean。對 Bean 代碼的更改。從客戶端尋找會話 Beans。從客戶端調用會話 Beans。總結。

13. 企業 JavaBeans:建立實體 Beans。
定義實體 Beans。容器管理和 Bean 管理持久性。CMP 實體 Bean 的結構。開發實體 Beans。更深入了解開發實體 Beans。EJB 客戶端。使用 GUI 工具配置、打包和部署實體 Beans。總結。

14. 使用電子郵件進行消息傳遞:JavaMail。
一般的電子郵件消息傳遞。JavaMail 的功能。提供者註冊表。JavaMail 架構和主要類別。發送和接收消息。在 JavaServer Pages 中使用 JavaMail。總結。

15. 使用應用程式進行消息傳遞:Java 訊息服務(JMS)。
消息傳遞基礎。JMS 的位置。JMS 元件。生產和消費消息。JMS 範例。JMS 實現和部署問題。總結。

16. 使用 XML 進行資料交換。
什麼是 XML?XML 文件的結構。未解析的資料。處理指令。文檔類型定義(DTD)。XML 架構。XML 解析器。文檔物件模型(DOM)。簡單的 XML API(SAX)。XML 輸出。XSL。樣式表結構。應用樣式表。XML 連結語言(XLink)。XML 安全性。總結。

17. 驗證應用程式。
Java 和測試。通過除錯進行質量控制。除錯技術。修正錯誤。測試和開發階段。測試方法和技術。網站測試工具和網站管理工具。總結。

18. 提升應用程式性能。
概述。撰寫高效能應用程式。準備性能調整。診斷和修復指南。什麼影響伺服器性能?資料庫監控和調整工具。總結。

19. 部署應用程式。
Java 的一次編寫,隨處運行的承諾。組裝過程。部署過程。總結。

附錄 A. 範例應用程式的文檔。
SilverBooks。Java 寵物商店。總結。

附錄 B. 相關工具。
開發工具。應用伺服器。建模和物件/報告生成工具。消息傳遞和 XML 工具。驗證和性能監控工具。

附錄 C. 快速參考資料。
J2EE API。J2EE 軟體開發工具包(SDK)安裝說明。J2EE 的命名慣例。

索引。

最後瀏覽商品 (20)