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
Design Patterns Java™ Workbook
Praise for Design Patterns Java™ Workbook “An excellent book... I’m incredibly impressed with how readable it …
article
Run Llama-2 Models Locally with llama.cpp
Llama is Meta’s answer to the growing demand for LLMs. Unlike its well-known technological relative, ChatGPT, …
book
Back-end Performance
Performance simply matters. Technology may allow us to "go bigger", but maybe not necessarily be better …
article
Reinventing the Organization for GenAI and LLMs
Previous technology breakthroughs did not upend organizational structure, but generative AI and LLMs will. We now …