Expert OneonOne J2EE Design and Development [Electronic resources]

Rod Johnson

نسخه متنی -صفحه : 183/ 1
نمايش فراداده

Sitemap

Table of Contents

BackCover

Expert One-on-One J2EE Design and Development

Introduction

How is this Book Different?

Who this Book is for

Aims of this Book

What this Book Covers

Assumed Knowledge

Recommended Reading

What You Need for Using this Book

Conventions

Customer Support

How to Download the Sample Code for the Book

Errata

E-Mail Support

p2p.wrox.com

Chapter 1: J2EE Architectures

Goals of an Enterprise Architecture

Deciding Whether to Use a Distributed Architecture

New Considerations in J2EE Design

When to Use EJB

Accessing Data

State Management

J2EE Architectures

Web Tier Design

Designing Applications for Portability

Summary

Chapter 2: J2EE Projects--Choices and Risks

Developing a Policy on Specification Versions

Choosing an Application Server

The " Neat Technology " Trap

When to Use Alternative Technologies to Supplement J2EE

Portability Issues

Staging Environments and Release Management

Building a Team

Choosing Development Tools

Identifying and Mitigating Risks

Summary

Chapter 3: Testing J2EE Applications

What Can Testing Achieve?

Definitions

Testing Correctness

Testing Performance and Scalability

Automating Tests

Complementary Approaches to Testing

Summary

Chapter 4: Design Techniques and Coding Standards for J2EE Projects

OO Design Recommendations for J2EE Applications

Coding Standards

Why (and How) Not to Reinvent the Wheel

Summary

Chapter 5: Requirements for the Sample Application

Overview

User Populations

Assumptions

Scope Limitations

Delivery Schedule

Internet User Interface

Box Office User Interface

Non-Functional Requirements

Hardware and Software Environment

Summary

Chapter 6: Applying J2EE Technologies

When is a Distributed Architecture Appropriate?

Deciding When to Use EJB

Deciding How to Use EJB

Deciding when to Use Asynchronous Calling with JMS

Authentication and Authorization

Deciding When to Use XML

Caching to Improve Performance

Summary

Chapter 7: Data Access in J2EE Applications

Data Access Goals

Business Logic and Persistence Logic

Object-Driven and Database-Driven Modeling: A Philosophical Debate

O/R Mapping and the " Impedance Mismatch

The Data Access Object (DAO) Pattern

Working with Relational Databases

Portability Versus Performance

Exchanging Data in Distributed Applications

Common Data Access Issues

Where to Perform Data Access

Summary

Data Modeling in the Sample Application

Chapter 8: Data Access Using Entity Beans

Entity Bean Concepts

CMP Versus BMP

Entity Beans in EJB 2.0

Entity Bean Caching

Entity Bean Performance

Tool Support for Entity Beans

Summary

Chapter 9: Practical Data Access

Data Access Technology Choices

JDBC Subtleties

A Generic JDBC Abstraction Framework

Implementing the DAO Pattern in the Sample Application

Summary

Chapter 10: Session Beans

Using Stateless Session Beans

Using Stateful Session Beans

J2EE Design Patterns Applicable to Session Beans

Session Bean Implementation issues

Session Beans in the Sample Application

Summary

Chapter 11: Infrastructure and Application Implementation

Infrastructure

Implementing Business Logic

Summary

Chapter 12: Web-Tier MVC Design

The Challenges of Web Development

Lessons Learned in Java Web Development

Web-Tier Design Goals

MVC Concepts and the Front Controller J2EE Pattern

Web Application Frameworks

Integrating a Web Application Framework into Overall Application Architecture

The Web Application Framework Used in the Sample Application

Web-Tier Session Management

Processing User Input

Implementing the Web Tier in the Sample Application

Summary

Chapter 13: Views in the Web Tier

Decoupling Controllers and Views

Constructing the View for the Reservations Page

JSP Views

Dedicated Template Languages

XSLT

Alternative Approaches to Markup Generation

Generating Binary Content

View Composition and Page Layout

Summary

Chapter 14: Packaging and Application Deployment

Packaging

Application Deployment: Common Concepts

Deploying the Sample Application on JBoss 3.0

Summary

Chapter 15: Performance Testing and Tuning an Application

Strategic Issues and Definitions

Tools for Testing Performance and Throughput

Locating Performance or Scalability Problems

Addressing Performance or Scalability Problems

Case Study: The " Display Show " Page in the Sample Application

Performance in Distributed Applications

Web-Tier Performance Issues

The Primary Causes of Performance and Scalability Problems in J2EE Applications

Summary

Chapter 16: Conclusion--Making J2EE Work for You

General Principles

Projects

Appendix A: Implementing View Technologies

Decoupling Controllers from View Technologies Using a View Interface

View Implementations

JSP

Velocity

XSLT

XMLC

Generating PDF with iText

Additional Views

Custom Views

Index-A Guide to the Index

Index

Index_C

Index_D

Index_E

Index_F

Index_G

Index_H

Index_I

Index_J-K

Index_L

Index_M

Index_N

Index_O

Index_P-Q

Index_R

Index_S

Index_T

Index_U

Index_V

Index_W

Index_X