Overview
Design Patterns in Java™ gives you the hands-on practice and deep insight you need to fully leverage the significant power of design patterns in any Java software project. The perfect complement to the classic Design Patterns, this learn-by-doing workbook applies the latest Java features and best practices to all of the original 23 patterns identified in that groundbreaking text.
Drawing on their extensive experience as Java instructors and programmers, Steve Metsker and Bill Wake illuminate each pattern with real Java programs, clear UML diagrams, and compelling exercises. You'll move quickly from theory to application–learning how to improve new code and refactor existing code for simplicity, manageability, and performance.
Coverage includes
- Using Adapter to provide consistent interfaces to clients
- Using Facade to simplify the use of reusable toolkits
- Understanding the role of Bridge in Java database connectivity
- The Observer pattern, Model-View-Controller, and GUI behavior
- Java Remote Method Invocation (RMI) and the Proxy pattern
- Streamlining designs using the Chain of Responsibility pattern
- Using patterns to go beyond Java's built-in constructor features
- Implementing Undo capabilities with Memento
- Using the State pattern to manage state more cleanly and simply
- Optimizing existing codebases with extension patterns
- Providing thread-safe iteration with the Iterator pattern
- Using Visitor to define new operations without changing hierarchy classes
If you're a Java programmer wanting to save time while writing better code, this book's techniques, tips, and clear explanations and examples will help you harness the power of patterns to improve every program you write, design, or maintain.
All source code is available for download at http://www.oozinoz.com.
Editorials
From Barnes & Noble
The Barnes & Noble ReviewPatterns are one of the most valuable software engineering innovations of the past generation -- arguably the most valuable. But, as groundbreaking as the Gang of Four's Design Patterns was, translating their patterns for use in production Java applications isn't always easy. The solution? Metsker and Wake's Design Patterns in Java, Second Edition.
This book brings those classic patterns to life, with realistic examples and challenges that use Java 1.5 and its key libraries. All 23 GoF patterns are here: “interface” patterns like Adapter and Facade; “responsibility” patterns like Singleton; “construction patterns” like Abstract Factory; “operation” patterns like Template Method; and much more.
Don't just read Metzker and Wake: Work their challenges. There's no better way to internalize these patterns, so you'll actually use them -- and get the benefits they've always promised. Bill Camarda, from the May 2006 Read Only