You are previewing Pro Java™ EE Spring Patterns: Best Practices and Design Strategies Implementing Java™ EE Patterns with the Spring Framework.
O'Reilly logo
Pro Java™ EE Spring Patterns: Best Practices and Design Strategies Implementing Java™ EE Patterns with the Spring Framework

Book Description

“The Java™ landscape is littered with libraries, tools, and specifications. What’s been lacking is the expertise to fuse them into solutions to real–world problems. These patterns are the intellectual mortar for J2EE software construction.” —John Vlissides, coauthor of Design Patterns: Elements of Reusable Object–Oriented Software

Pro Java™ EE Spring Patterns focuses on enterprise patterns, best practices, design strategies, and proven solutions using key Java EE technologies including JavaServer Pages™, Servlets, Enterprise JavaBeans™, and Java Message Service APIs.

This Java EE patterns resource, catalog, and guide, with its patterns and numerous strategies, documents and promotes best practices for these technologies, implemented in a very pragmatic way using the Spring Framework and its counters. This title

  • Introduces Java EE application design and Spring framework fundamentals

  • Describes a catalog of patterns used across the three tiers of a typical Java EE application

  • Provides implementation details and analyses each pattern with benefits and concerns

  • Describes the application of these patterns in a practical application scenario

What you'll learn

  • Get an introduction to enterprise Java/Java EE application design patterns.

  • Simplify enterprise Java design using the popular Spring framework.

  • Examine presentation, business, web, and integration tier design patterns and best practices, including cross–cutting design patterns, aspect-oriented programming, etc.

  • See how the enhanced and up–to–date pattern catalog compares to core J2EE design blueprints.

  • Learn how to use comprehensive source code and configuration information.

  • Develop order management system requirements for the first in–depth enterprise application case study.

  • Design your order management system application using the final case study

Who this book is for

This book is for Java EE application architects, designers, and developers using or planning to use the Spring Framework.

Table of Contents

  1. Title Page
  2. Dedication
  3. Contents at a Glance
  4. Contents
  5. About the Author
  6. About the Technical Reviewer
  7. Acknowledgments
  8. Introduction
    1. Who This Book Is For
    2. How This Book Is Structured
    3. Prerequisites
    4. Downloading the Code
    5. Contacting the Authors
  9. CHAPTER 1: Introducing Enterprise Java Application Architecture and Design
    1. Evolution of Distributed Computing
    2. Java EE Application Design
    3. The Java EE Design Pattern Catalog
    4. Java EE Architecture and Design with UML
    5. Summary
  10. CHAPTER 2: Simplifying Enterprise Java Applications with the Spring Framework
    1. What Is Spring?
    2. Why Is Spring So Important?
    3. Spring Framework's Building Blocks
    4. Building a Layered Application with Spring
    5. Spring Enterprise Java Design Pattern Directive
    6. Summary
  11. CHAPTER 3: Exploring Presentation Tier Design Patterns
    1. Front Controller
    2. Application Controller
    3. Page Controller
    4. Context Object
    5. Intercepting Filter
    6. View Helper
    7. Composite View
    8. Dispatcher View
    9. Service to Worker
    10. Summary
  12. CHAPTER 4: Exploring Business Tier Design Patterns
    1. Service Locator
    2. Business Delegate
    3. Session Facade
    4. Application Service
    5. Business Interface
    6. Summary
  13. CHAPTER 5: Exploring Integration Tier Design Patterns
    1. Data Access Object
    2. Procedure Access Object
    3. Service Activator
    4. Web Service Broker
    5. Summary
  14. CHAPTER 6: Exploring Crosscutting Design Patterns
    1. Authentication and Authorization Enforcer
    2. Audit Interceptor
    3. Domain Service Owner Transaction
    4. Summary
  15. CHAPTER 7: Case Study: Building an Order Management System
    1. Requirements
    2. Iteration Planning
    3. Architecture
    4. Design
    5. Security
    6. Java Server Pages
    7. Page Controller
    8. Development
    9. Summary
  16. Index