Enterprise Java Programming with IBM Websphere (Paperback)

Kyle Brown, Jamie Niswonger, Greg Hester, David Pitt, Dr. Gary Craig, Russell Stinehour

  • 出版商: Addison Wesley
  • 出版日期: 2001-05-11
  • 定價: $1,350
  • 售價: 5.0$675
  • 語言: 英文
  • 頁數: 544
  • 裝訂: Paperback
  • ISBN: 0201616173
  • ISBN-13: 9780201616170
  • 相關分類: Java 程式語言
  • 立即出貨(限量)

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

相關主題

商品描述


Description

The solutions-focused, practical guide to WebSphere server-side development with Java 2!

  • Hands-on techniques and case studies: Java servlets, JavaServer Pages, Enterprise JavaBeans, IBM VisualAge for Java, and more.
  • Defining Web-centered architectures that maximize performance, scalability, and robustness.
  • Authoritative! Lead author is Senior Java Architect at IBM WebSphere Services.
WebSphere is at the heart of IBM's web strategy: a global Internet software platform that can support any e-business, from startup to megasite. IBM is investing $1 billion to build a WebSphere community that will be 5,000,000 developers strong. Now, there's a comprehensive WebSphere programmer's reference: a hands-on, solutions-focused exploration of every key element of WebSphere server-side programming, including Java servlets, JavaServer Pages, Enterprise JavaBeans, and IBM's powerful VisualAge for Java development environment. They present detailed guidance for architecting WebSphere/J2EE applications that deliver maximum performance, scalability, and robustness. Finally, using a start-to-finish case study, they build an entire system, showing how every piece fits together, how each API interrelates, and exactly how IBM's VisualAge for Java Enterprise Edition and WebSphere implement the J2EE standards.

Kyle Brown is Senior Java Architect at IBM WebSphere Services. His publishing credits include The Design Patterns Smalltalk Companion (A-W 1998) and many articles in Software Development, VisualAge Magazine, and other developer's magazines. Peter Jakab is a member of the IBM VisualAge and WebSphere Certification Team. Dr. Gary Craig works for Synergistic Solutions, Inc.; Greg Hester and David Pitt are developers for CrossLogic Corporation.

Back to Top


Table Of Contents

Figures, Tables, and Listings.
Foreword.
Preface.
1. Internet Business Environment.
Web Revenue Projections.
Marketplace Competition.
IT Management Issues.
What Is Needed.
Summary and Preview.

2. Web Based Client/Server Solutions.
Web-Based Client/Server Design Templates.
Remote Presentation.
Distributed Logic.
Remote Data Management.
Distributed Data Management.

J2EE and Server-Side Solutions.
Summary and Preview.

3. MVC and Layered Architectures.
Layering.
Layered Architecture.
Common Layering Schemes.
Layered Architecture Defined.
Other Considerations.

Summary and Preview.

4. Introduction to Servlets.
HTTP Technology Primer.
Background.
Uniform Resource Identifiers.
Requests, Responses, and Headers.
Pulling It All Together.

Servlet Concepts.
Support for Servlets.
Servlet Engines.
Servlet Life Cycle.
An Example Servlet.

Key Classes and Interfaces.
The javax.servlet Package.
The javax.servlet.http Package.

Rationale for Servlets.
Summary and Preview.

5. Developing Servlets Using VisualAge for Java.
IBM WebSphere Test Environment (WTE).
Installing the WTE.
Using the WTE Control Center.
Starting the Servlet Engine.
Testing with the Servlet Engine.
Stopping the Servlet Engine.

Building an Example Servlet in VisualAge.
Configuring the Servlet Engine.
Summary and Preview.

6. Using the IBM WebSphere Application Server - Advanced Edition.
WASAE Architecture.
Some Definitions of WebSphere Components.
Testing the Installation.
Before You Start the Admin Server.
Starting the Admin Server.
Opening the Administrator's Console.
Starting the Default Server.
Starting the Web Server.
Test Using the "Snoop" Servlet.

Creating the "EmployeeSys" Application Server.
Using XML Config.
Configuration Issues.
Application Server versus Web Application.
"Invoker" Servlet.

Summary and Preview.

7. Using IBM WebSphere Studio.
Rationale for WebSphere Studio.
Installing and Starting Studio.
Using Page Designer.
Managing a Web Site.
Importing from VisualAge.
Importing Existing Sites.
Version Control.
Working in a Team.
Summary and Preview.

8. Session State Management.
Some Client-Side Session Approaches.
Cookies.
Hidden Fields.
URL Parameters.

Servlets and Session State.
HttpSession Binding.
How the Session Is Found.

Choosing a Session Identifier.
URL Rewriting.

Third-Tier Session Storage.
WebSphere Persistent Session Storage.
Other Session Storage Options.

Configuring WebSphere 3.5 Session Support.
The Enable Section.
The Cookies Section.
The Persistence Section.
The Intervals Section.
The Tuning Section.

Summary and Preview.

9. Servlet Design Considerations.
Number of Servlets.
State Pattern.
Exception Handling.
Servlet Chaining and Filtering.
Using XML.
Summary and Preview.

10. JavaServer Pages Concepts.
Page Templates and Server-Side Scripting.
Page Compilation: Runtime View.
JSP Syntax.
Scripting Elements.
Directives.

Roles for JSP.
Summary and Preview.

11. JSP Actions, MVC, and Tools.
Programming Models.
JSP Direct Model.
JSP Indirect Model.

JSP Standard Actions.
The useBean Action.
The getProperty and the setProperty Standard Actions.
The Rest of the Standard Action Tags.

JSP Development Tools: WebSphere Page Designer.
JavaBeans, Introspection, and Contracts.
WebSphere Studio and Page Designer.

Testing JSPs.
Configuration of JSPs in the WebSphere Test Environment.
JSP Execution Monitor.

Deploying JSPs.
Support for taglib and XML.
XML Compliance.
Summary and Preview.

12. Servlet and JSP Case Study.
Executing Test Scripts.
Loading the Case Study into the WebSphere Test Environment.
User's Guide.
Initial Screen.
Create, Display, and Modify Time Sheet for an Employee.
Display Pending and Approved Time Sheets.

Case Study Analysis and Design Artifacts.
Problem Statement.
System Tasks.
Use Case List.

Use Case Definitions.
Defined Use Cases.
Time-Sheet Domain Model.
Class Listing.
Collaboration Diagram.
Mediator.
Domain.
Enumeration.
Filtering.
Container.
Time Sheets.
Time-Sheet State.
Mapping.

Package Structure.
Summary and Preview.

13. Enterprise Java Bean Architecture.
Object Distribution.
CORBA Overview.
RMI Overview.
Remaining Problems.

Object Persistence.
Objects and Transactions.
Security in Enterprise Applications.
EJB Definition.
Containers.
Session EJBs.
Entity EJBs.

Need for EJBs.
Summary and Preview.

14. Building Basic EJBs in VisualAge for Java.
The Simplest EJB.
Bean Implementation and Life Cycle.
EJB Home Interfaces.
Building EJBs in VisualAge.
Summary and Preview.

15. Testing and Debugging EJBs in VisualAge for Java.
Overview of the Testing Process.
Debugging EJBs in VisualAge for Java.
Summary and Preview.

16. Writing Simple EJB Clients.
EJB Client Steps.
Obtaining a Home Interface.
Obtaining Home References.
Using the EJB.

EJBObject and Remote Proxies.
VisualAge for Java Access Beans.
Testing EJB Code in the Scrapbook.
Using Servlets as EJB Clients.
Some Design Points about Servlet Clients.
Java Application Clients.
Testing Applications Clients in VisualAge.
Running Application Clients Outside of VisualAge.

Summary and Preview.

17. Simple Container Managed Persistence Entity Beans.
Some Entity Bean Basics.
CMP in WebSphere and VisualAge for Java.
The Parts of an Entity Bean.
Remote Interfaces.
Home Interfaces.
Key Classes.
Finder Helpers.
Bean Implementation Classes.

Summary and Preview.

18. EJB Transactions.
Transaction Defined.
Transactions and Two-Phase Commit.
EJBs and Transactions.
Starting a Transaction.
Participating in a Transaction.
Setting Transaction Attributes.
Transactions and Concurrency.
EJB Caching.
Introduction to Isolation Levels.

WebSphere-Specific Transaction Settings.
Summary and Preview.

19. Building Entity Beans in VisualAge and WebSphere.
Creating an Entity Bean in VisualAge.
Schemas, EJBs, and Table Maps.
Exporting a Schema to a Database.
Some Simple Tests.
Summary and Preview.

20. Advanced CMP Mapping.
Simple Mapping Rules.
Object-Relational Basics.
Concepts in EJB Relationship Mapping.
Associations in UML.
Associations in VisualAge for Java 3.5.
Implementing a Simple Association.
Single-Valued Association Implementation Details.
Implementing Many-Valued Relationships.
Wrapping Up Relationships.

EJB Inheritance in VisualAge.
Remote Interface Inheritance for Sessions and Entities.
Building Inherited Beans in VisualAge.
Inheritance of Home Interfaces.
Database Inheritance Strategies.
CMP Entity Support for Inheritance.

Summary and Preview.

21. Bean Managed Persistence.
Applying BMP.
A Simple BMP Bean.
WebSphere JDBC Connection Pooling.
Examining BMP Persistence.
Writing ejbCreate() Method in BMP Beans.
Writing BMP Finder Methods.
Writing BMP ejbLoad() Methods.
Writing ejbStore() Methods.

BMP versus CMP.
Summary and Preview.

22. Building Layered Architectures for EJB Systems.
Problems with an All-EJB Solution.
The Session Facade and Data Bean Solution.
Examples of the Session Facade/Data Bean Solution.
A Simple Example from the Case Study.
A More Complex Example.
An Updating Example.

Summary and Preview.

23. Deploying EJBs into WebSphere.
Exporting EJBs from VisualAge for Java.
EJB JAR File.
Creating an EJB JAR from VisualAge for Java.
VisualAge Deployed JAR File.
Client JAR File.

Best Practices for EJB Deployment.
Deploying EJBs to WebSphere.
Deploying .jar Files.
Deploying Files from Studio.
Defining EJBs.

Final Changes.
Summary and Preview.

24. A Final Look.
J2EE Application Servers.
Layering: MVC revisited.
Tools.
Parting Comments.

Appendix A: Mapping Domain Objects to Datastores.
Appendix B: Application Service Layers.
Application Services.
The AppService Class.
Startup Sequence.
Exception Handling.

Application Property and Resource Access.

Bibliography.
Index. 0201616173T05042001


Back to Top

商品描述(中文翻譯)

描述

這是一本針對使用Java 2進行WebSphere服務器端開發的解決方案導向、實用的指南!內容包括實踐技巧和案例研究:Java servlets、JavaServer Pages、Enterprise JavaBeans、IBM VisualAge for Java等。書中還介紹了如何定義最大化性能、可擴展性和穩健性的以Web為中心的架構。主要作者是IBM WebSphere Services的高級Java架構師,具有權威性。

WebSphere是IBM網絡戰略的核心,是一個全球互聯網軟件平台,可以支持從初創企業到大型網站的任何電子商務。IBM正在投資10億美元建立一個500萬開發者的WebSphere社區。現在,有了這本全面的WebSphere程序員參考書,讀者可以深入了解WebSphere服務器端編程的每個關鍵元素,包括Java servlets、JavaServer Pages、Enterprise JavaBeans和IBM強大的VisualAge for Java開發環境。書中提供了詳細的指導,教讀者如何設計WebSphere/J2EE應用程序,以實現最佳性能、可擴展性和穩健性。最後,通過一個從頭到尾的案例研究,書中展示了如何構建一個完整的系統,展示了每個組件的配合方式,每個API的相互關聯,以及IBM的VisualAge for Java Enterprise Edition和WebSphere如何實現J2EE標準。

Kyle Brown是IBM WebSphere Services的高級Java架構師,他的出版作品包括《The Design Patterns Smalltalk Companion》(A-W 1998)和許多在《Software Development》、《VisualAge Magazine》等開發者雜誌上的文章。Peter Jakab是IBM VisualAge和WebSphere認證團隊的成員。Gary Craig博士在Synergistic Solutions, Inc.工作;Greg Hester和David Pitt是CrossLogic Corporation的開發人員。

目錄

圖表和列表。
前言。
前言。
1. 網絡商業環境。
網絡收入預測。
市場競爭。
IT管理問題。
所需的內容。
總結和預覽。

2. 基於Web的客戶/服務器解決方案。
基於Web的客戶/服務器設計模板。
遠程演示。
分佈式邏輯。
遠程數據管理。
分佈式數據管理。
J2EE和服務器端解決方案。
總結和預覽。

3. MVC和分層架構。
分層。
分層架構。
常見的分層方案。
分層架構定義。
其他考慮因素。
總結和預覽。

4. Servlet介紹。
HTTP技術入門。
背景。
統一資源標識符。
請求、響應和標頭。
將所有內容整合在一起。
Servlet概念。
對Servlet的支持。
Servlet引擎。
Servlet生命周期。
一個示例Servlet。
關鍵類和接口。
Servlet的理由。
總結和預覽。

5. 使用VisualAge for Java開發Servlet。
IBM WebSphere測試環境(WTE)。
安裝```