Design Patterns in Java(TM), 2nd Edition

Design Patterns in Java(TM), 2nd Edition
PDF, ePUB

Book Description
Design Patterns in Java(TM) 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.

Content

CHAPTER 1. INTRODUCTION

PART I - INTERFACE PATTERNS
CHAPTER 2. INTRODUCING INTERFACES
CHAPTER 3. ADAPTER
CHAPTER 4. FACADE
CHAPTER 5. COMPOSITE
CHAPTER 6. BRIDGE

PART II - RESPONSIBILITY PATTERNS
CHAPTER 7. INTRODUCING RESPONSIBILITY
CHAPTER 8. SINGLETON
CHAPTER 9. OBSERVER
CHAPTER 10. MEDIATOR
CHAPTER 11. PROXY
CHAPTER 12. CHAIN OF RESPONSIBILITY
CHAPTER 13. FLYWEIGHT

PART III - CONSTRUCTION PATTERNS
CHAPTER 14. INTRODUCING CONSTRUCTION
CHAPTER 15. BUILDER
CHAPTER 16. FACTORY METHOD
CHAPTER 17. ABSTRACT FACTORY
CHAPTER 18. PROTOTYPE
CHAPTER 19. MEMENTO

PART IV - OPERATION PATTERNS
CHAPTER 20. INTRODUCING OPERATIONS
CHAPTER 21. TEMPLATE METHOD
CHAPTER 22. STATE
CHAPTER 23. STRATEGY
CHAPTER 24. COMMAND
CHAPTER 25. INTERPRETER

PART V - EXTENSION PATTERNS
CHAPTER 26. INTRODUCING EXTENSIONS
CHAPTER 27. DECORATOR
CHAPTER 28. ITERATOR
CHAPTER 29. VISITOR

Download Design Patterns in Java(TM), 2nd Edition PDF or ePUB format free


Free sample

Download in .PDF format



Download in .ePUB format


Add comments
Прокомментировать
Введите код с картинки:*
Кликните на изображение чтобы обновить код, если он неразборчив
Copyright © 2019