| |
| |
Figures, Tables, and Listings | |
| |
| |
Foreword | |
| |
| |
Preface | |
| |
| |
| |
Internet Business Environment | |
| |
| |
Web Revenue Projections | |
| |
| |
Marketplace Competition | |
| |
| |
IT Management Issues | |
| |
| |
What Is Needed | |
| |
| |
Summary and Preview | |
| |
| |
| |
Web-Based Client/Server Solutions | |
| |
| |
Web-Based Client/Server Design Templates | |
| |
| |
J2EE and Server-Side Solutions | |
| |
| |
Summary and Preview | |
| |
| |
| |
MVC and Layered Architectures | |
| |
| |
Layering | |
| |
| |
Layered Architecture | |
| |
| |
Summary and Preview | |
| |
| |
| |
Introduction to Servlets | |
| |
| |
HTTP Technology Primer | |
| |
| |
Servlet Concepts | |
| |
| |
Key Classes and Interfaces | |
| |
| |
Rationale for Servlets | |
| |
| |
Summary and Preview | |
| |
| |
| |
Using VisualAge for Java to Develop Servlets | |
| |
| |
IBM WebSphere Test Environment (WTE) | |
| |
| |
Building an Example Servlet in VisualAge | |
| |
| |
Configuring the Servlet Engine | |
| |
| |
Summary and Preview | |
| |
| |
| |
Using the IBM WebSphere Application Server, Advanced Edition | |
| |
| |
WASAE Architecture | |
| |
| |
Some Definitions of WebSphere Components | |
| |
| |
Testing the Installation | |
| |
| |
Creating the "EmployeeSys" Application Server | |
| |
| |
Using XML Config | |
| |
| |
Configuration Issues | |
| |
| |
Summary and Preview | |
| |
| |
| |
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 | |
| |
| |
| |
Session State Management | |
| |
| |
Some Client-Side Session Approaches | |
| |
| |
Servlets and Session State | |
| |
| |
Choosing a Session Identifier | |
| |
| |
Third-Tier Session Storage | |
| |
| |
Configuring WebSphere 3.5 Session Support | |
| |
| |
Summary and Preview | |
| |
| |
| |
Servlet Design Considerations | |
| |
| |
Number of Servlets | |
| |
| |
State Pattern | |
| |
| |
Exception Handling | |
| |
| |
Servlet Chaining and Filtering | |
| |
| |
Using XML | |
| |
| |
Summary and Preview | |
| |
| |
| |
JavaServer Pages Concepts | |
| |
| |
Page Templates and Server-Side Scripting | |
| |
| |
Page Compilation: Runtime View | |
| |
| |
JSP Syntax | |
| |
| |
Roles for JSP | |
| |
| |
Summary and Preview | |
| |
| |
| |
JSP Actions, MVC, and Tools | |
| |
| |
Programming Models | |
| |
| |
JSP Standard Actions | |
| |
| |
JSP Development Tools: WebSphere Page Designer | |
| |
| |
Testing JSPs | |
| |
| |
Deploying JSPs | |
| |
| |
Support for taglib and XML | |
| |
| |
XML Compliance | |
| |
| |
Summary and Preview | |
| |
| |
| |
Servlet and JSP Case Study | |
| |
| |
Executing Test Scripts | |
| |
| |
Loading the Case Study into the WebSphere Test Environment | |
| |
| |
User's Guide | |
| |
| |
Case Study Analysis and Design Artifacts | |
| |
| |
Use Case Definitions | |
| |
| |
Package Structure | |
| |
| |
Summary and Preview | |
| |
| |
| |
Enterprise JavaBean Architecture | |
| |
| |
Object Distribution | |
| |
| |
Object Persistence | |
| |
| |
Objects and Transactions | |
| |
| |
Security in Enterprise Applications | |
| |
| |
EJB Definition | |
| |
| |
Need for EJBs | |
| |
| |
Summary and Preview | |
| |
| |
| |
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 | |
| |
| |
| |
Testing and Debugging EJBs in VisualAge for Java | |
| |
| |
Overview of the Testing Process | |
| |
| |
Debugging EJBs in VisualAge for Java | |
| |
| |
Summary and Preview | |
| |
| |
| |
Writing Simple EJB Clients | |
| |
| |
EJB Client Steps | |
| |
| |
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 | |
| |
| |
Summary and Preview | |
| |
| |
| |
Simple Container-Managed Persistence Entity Beans | |
| |
| |
Some Entity Bean Basics | |
| |
| |
CMP in WebSphere and VisualAge for Java | |
| |
| |
The Parts of an Entity Bean | |
| |
| |
Summary and Preview | |
| |
| |
| |
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 | |
| |
| |
WebSphere-Specific Transaction Settings | |
| |
| |
Summary and Preview | |
| |
| |
| |
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 | |
| |
| |
| |
Advanced CMP Mapping | |
| |
| |
Simple Mapping Rules | |
| |
| |
Object-Relational Basics | |
| |
| |
Concepts in EJB Relationship Mapping | |
| |
| |
Associations in UML | |
| |
| |
Associations in VisualAge for Java 3.5 | |
| |
| |
EJB Inheritance in VisualAge | |
| |
| |
Summary and Preview | |
| |
| |
| |
Bean-Managed Persistence | |
| |
| |
Applying BMP | |
| |
| |
A Simple BMP Bean | |
| |
| |
WebSphere JDBC Connection Pooling | |
| |
| |
Examining BMP Persistence | |
| |
| |
BMP versus CMP | |
| |
| |
Summary and Preview | |
| |
| |
| |
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 | |
| |
| |
Summary and Preview | |
| |
| |
| |
Deploying EJBs into WebSphere | |
| |
| |
Exporting EJBs from VisualAge for Java | |
| |
| |
Best Practices for EJB Deployment | |
| |
| |
Deploying EJBs to WebSphere | |
| |
| |
Final Changes | |
| |
| |
Summary and Preview | |
| |
| |
| |
A Final Look | |
| |
| |
J2EE Application Servers | |
| |
| |
Layering: MVC revisited | |
| |
| |
Tools | |
| |
| |
Parting Comments | |
| |
| |
| |
Mapping Domain Objects to Data Stores | |
| |
| |
| |
Application Service Layers | |
| |
| |
Application Services | |
| |
| |
Application Property and Resource Access | |
| |
| |
| |
Setting Up a Database Driver and Datasource | |
| |
| |
Bibliography | |
| |
| |
Index | |