Book description
A hands-on guide to design patterns for Java platform developers.
Pattern-based solutions for every stage of the development lifecycle
Documents 30 patterns, including the 23 core patterns for the Sun Certified Enterprise Architect exam
Describes pattern use within the Java APIs—including patterns for reflection, security, AWT/Swing, RMI, JDBC, J2EE, and more
Increasingly, developers are recognizing the value of design patterns in helping to create more robust, scalable, reliable, and maintainable applications. Now there's a book that can help you bring the power of patterns to your Java-based projects.
Sun Microsystems experts Steve Stelting and Olav Maassen bring together today's best pattern-based techniques and demonstrate pattern use for a variety of business systems. This practical guide features proven techniques for all types of patterns, from system architecture to single classes
After briefly reviewing the fundamentals of design patterns, the authors describe how these patterns can be applied effectively to the Java platform. Next, they provide a pattern catalog, organized into four major categories—the creational, behavioral, structural, and system patterns. In addition, they identify patterns and present techniques for pattern use in the core Java APIs as well as the APIs for distributed development.
APIs covered include:
Event handling
Collection API
JDBC
RMI
CORBA
Applied Java Patterns also features a section on pattern use in systems built with J2EE and JINI technologies, and coverage of the servlet, JSP, EJB, and JavaSpaces APIs.
Without a doubt, this accessible and up-to-date guide can help you enhance your Java platform programming skills.
Table of contents
- Copyright
- Preface
- Introduction
-
I. Commonly Used Patterns
- 1. Creational Patterns
- 2. Behavioral Patterns
- 3. Structural Patterns
-
4. System Patterns
- Introduction to System Patterns
- Model-View-Controller (MVC)
-
Session
- Pattern Properties
- Purpose
- Introduction
- Applicability
- Description
- Stateful and Stateless Communication
- Applications Often Require Stateful Communication
- Session Pattern and Stateful Communication
- Real-World Stateful Communication
- Implementation
- Benefits and Drawbacks
- Pattern Variants
- Related Patterns
- Example
- Worker Thread
- Callback
- Successive Update
- Router
- Transaction
-
II. Patterns in the Java Programming Language
- 5. Introduction to Java Programming Language Patterns
- 6. Java Core APIs
- 7. Distributed Technologies
- 8. Jini and J2EE Architectures
-
A. Full Code Examples
- System Requirements
- Creational Pattern Code Examples
- Abstract Factory
- Builder
- Factory Method
- Prototype
- Singleton
- Behavioral Pattern Code Examples
- Chain of Responsibility
- Command
- Interpreter
- Iterator
- Mediator
- Memento
- Observer
- State
- Strategy
- Visitor
- Template Method
- Structural Pattern Code Examples
- Adapter
- Bridge
- Composite
- Decorator
- Facade
- Flyweight
- Half-Object Plus Protocol (HOPP)
- Proxy
- System Pattern Code Examples
- Model-View-Controller (MVC)
- Session
- Worker Thread
- Callback
- Successive Update
- Router
- Transaction
- B. Bibliography
Product information
- Title: Applied Java™ Patterns
- Author(s):
- Release date: December 2001
- Publisher(s): Pearson
- ISBN: 0130935387
You might also like
book
CSS3 Quick Syntax Reference: A Pocket Guide to the Cascading Style Sheets Language
The CSS3 Quick Syntax Reference is a 150-page syntax reference to the Cascading Style Sheets language. …
book
Beginning CSS3
Beginning CSS3 teaches you how to style web pages using Cascading Style Sheets (CSS)—the language of …
book
HTML5 Quick Markup Reference
This book is a condensed reference for HTML5 markup. It presents the essential HTML5 elements and …
book
HTML5 Programmer’s Reference
The HTML5 Programmer’s Reference aims to provide everything a programmer needs for understanding and using the …