Core J2EE™ Patterns: Best Practices and Design Strategies

Book description

Over the last few years, Java 2 Platform, Enterprise Edition (J2EE) technology has emerged and matured as a standard platform for building enterprise applications. While the platform has matured into a solid offering for developing and deploying enterprise applications, it does offer its challenges. As developers, often we confuse learning the technology with learning to design with the technology. In this book, senior architects from the Sun Java Center, Sun's Java consulting organization share with the reader their cumulative design experience with and expertise on J2EE technology.

The primary focus of the book is on patterns, best practices, design strategies, and proven solutions using the key J2EE technologies including JavaServer Pages (JSP), Servlets, Enterprise Java Beans (EJB), and Java Message Service (J.M.S) API. Other ancillary technologies like JDBC and JNDI are also discussed as relevant to their usage in these patterns. The J2EE Patterns catalog with 16 patterns and numerous strategies is presented to document and promote best practices for these technologies.

In addition to the patterns and strategies, the book offers the following:

  • Presents various design strategies for the presentation tier and business tier design.

  • Identifies bad practices in presentation, business, and integration tiers, and offers directions to remedy them by using certain patterns, strategies, and refactorings.

  • Refactorings for various tiers and mechanics to move away from a bad implementation to a better solution.

  • Sample code and examples for patterns, strategies, and refactorings.

  • Core J2EE Patterns delivers:

  • Proven solutions for enterprise applications

  • J2EE Patterns Catalog with patterns for JSP technology, EJB technology, and J.M.S.

  • Identifies bad practices and recommends solutions

  • Refactorings to improve existing designs using patterns, strategies, and best practices

  • UML Diagrams illustrate structure and behavior of each pattern

  • Table of contents

    1. Copyright
    2. Foreword
    3. Preface
    4. Acknowledgments
    5. PATTERNS AND J2EE
      1. INTRODUCTION
        1. What Is J2EE?
        2. What Are Patterns?
        3. J2EE Pattern Catalog
        4. Patterns, Frameworks, and Reuse
        5. Summary
      2. J2EE PLATFORM OVERVIEW
        1. A Brief Perspective
        2. J2EE Platform
        3. J2EE Patterns and J2EE Platform
        4. Summary
    6. DESIGN CONSIDERATIONS, BAD PRACTICES, AND REFACTORINGS
      1. PRESENTATION TIER DESIGN CONSIDERATIONS AND BAD PRACTICES
        1. Presentation Tier Design Considerations
        2. Presentation Tier Bad Practices
      2. BUSINESS TIER DESIGN CONSIDERATIONS AND BAD PRACTICES
        1. Business Tier Design Considerations
        2. Business and Integration Tiers Bad Practices
      3. J2EE REFACTORINGS
        1. Presentation Tier Refactorings
        2. Business and Integration Tier Refactorings
        3. General Refactorings
    7. J2EE PATTERN CATALOG
      1. J2EE PATTERNS OVERVIEW
        1. What Is a Pattern?
        2. Identifying a Pattern
        3. The Tiered Approach
        4. J2EE Patterns
        5. Guide to the Catalog
        6. J2EE Pattern Relationships
        7. Relationship to Known Patterns
        8. Patterns Roadmap
        9. Summary
      2. PRESENTATION TIER PATTERNS
        1. Intercepting Filter
        2. Front Controller
        3. View Helper
        4. Composite View
        5. Service to Worker
        6. Dispatcher View
      3. BUSINESS TIER PATTERNS
        1. Business Delegate
        2. Value Object
        3. Session Facade
        4. Composite Entity
        5. Value Object Assembler
        6. Value List Handler
        7. Service Locator
      4. INTEGRATION TIER PATTERNS
        1. Data Access Object
        2. Service Activator
      5. J2EE PATTERNS APPLIED
        1. PSA Overview
        2. Use Case Model
        3. Use Cases, Patterns, and Pattern Frameworks
        4. Create Project Use Case
        5. Reserve Resource Use Case
        6. Find Available Resources Use Case
      6. BIBLIOGRAPHY
        1. Bibliodiv
        2. Online References

    Product information

    • Title: Core J2EE™ Patterns: Best Practices and Design Strategies
    • Author(s): Deepak Alur, John Crupi, Dan Malks
    • Release date: June 2001
    • Publisher(s): Pearson
    • ISBN: 9780130648846