Professional Java Development With The Spring Framework [Electronic resources]

Rod Johnsonet

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

Sitemap

Table of Contents

Back Cover

Professional Java Development with the Spring Framework

Introduction

Aims of This Book

What This Book Covers

Assumed Knowledge

Recommended Reading

What You Need to Use This Book

The Sample Application

Conventions

Source Code

Errata

p2p.wrox.com

Chapter 1: Introducing the Spring Framework

Spring''s Values

Spring in Context

Architecting Applications with Spring

The Future

The Spring Project and Community

Summary

Chapter 2: The Bean Factory and Application Context

Inversion of Control and Dependency Injection

The Container

Summary

Chapter 3: Advanced Container Concepts

Abstractions for Low-Level Resources

Application Events

Managing the Container

Some Convenience Factor y Beans

Proper ty Editors Provided by Spring

Strategies for Testing

Alternatives to XML

References

Summary

Chapter 4: Spring and AOP

Goals

Assumptions

Example

Spring''s AOP Framework

Using Advanced Features of Spring''s AOP Framework

Integration with Other AOP Frameworks

References

Summary

Chapter 5: DAO Support and JDBC Framework

The Data Access Object Pattern

Introducing Spring''s JDBC Framework

Building the Data Access Layer for the Sample Application

Operations with JdbcTemplate

Using the RDBMS Operation Classes

Advanced Concepts

Additional Considerations

Summary

Chapter 6: Transaction and Resource Management

Background

Transactions and J2EE

An Example of Spring''s Transaction Suppor t

Introducing Spring''s Transaction Abstraction

DataSource Declarations

Summary

Chapter 7: Object/Relational Mapping

Background

O/R Mapping Support in Spring

iBATIS SQL Maps

Hibernate

JDO

Other O/R Mapping Tools

Summary

Chapter 8: Lightweight Remoting

Concepts and Scope

Common Configuration Style

Hessian and Burlap

HTTP Invoker

RMI

Web Ser vices via JAX-RPC

Summary

Chapter 9: Supporting Services

JMS

Scheduling with Spring

Sending Email with Spring

Scripting

Summary

Chapter 10: Acegi Security System for Spring

Enterprise Application Security Choices

Acegi Security Fundamentals

Example Code

Summary

Chapter 11: Spring and EJB

Deciding on the Need for EJBs

Accessing EJBs

Implementing EJBs with Spring

Singleton Container Access, Good or Evil?

Testing Concerns

Summary

Chapter 12: Web MVC Framework

A Simple Example

General Architecture

Infrastructural Components

Workflow Involved with Handling Requests

Common Layout of a Spring MVC Web Application

HandlerMappings

HandlerExecutionChain and Interceptors

Handlers and Their Adapters

ModelAndView and ViewResolvers

Locale Changing and Resolution

HandlerExceptionResolvers

Controllers

Data Binding

Real-World Examples of Using Controllers

Wizard Functionality

Extending Spring''s Handler Infrastructure

Uploading Files

Testing Your Controllers

Summary

Chapter 13: Web View Technologies

An Example

Considerations When Choosing a Technology

View Objects and Models

Features Offered by the AbstractView

JavaSer ver Pages

Velocity and FreeMarker

Tiles

Views Based on XML and XSLT

Excel and Other Document-Based Views

Implementing Custom Views

Summary

Chapter 14: Integrating with Other Web Frameworks

Considerations When Choosing an MVC Framework

Integrating with Spring: Core Concepts

WebWork Integration

Struts Integration

Tapestry Integration

JavaServer Faces Integration

Summary

Chapter 15: The Sample Application

Choice of Server Technologies

Application Layers

Persistence Layer

Business Ser vice Layer

Web Layer

Comparison with the J2EE Design and Development Implementation

Ser ver Configuration

Build and Deployment

Summary

Chapter 16: Conclusion

The Spring Solution

Guidelines for Spring Development

Related Projects

Spring in Non-J2EE Environments

To Find Out More

The Future

Appendix A: Requirements for the Sample Application

Overview

User Populations

Assumptions

Scope Limitations

Delivery Schedule

Internet User Interface

Non-Functional Requirements

Hardware and Software Environment

Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

List of Figures

List of Sidebars