Finally, a companion to the seminal book, Design Patterns, 0-201-63361-2, that allows students to learn patterns using Java as opposed to C++, which was used in the original work. By working through the challenges presented in Design Patterns Java™ Workbook, the student will learn to recognize and apply a large portion of the accumulated wisdom of the software community. The author uses a workbook approach because he believes that students will not truly learn the material by reading it, but by “doing it.” The accompanying CD-ROM will include all code examples included in the book as well as some bonus code examples not found in the book. As the title suggests, all samples will be in Java.
Table of Contents
Foreword.
Preface.
1. Introduction to Patterns.
I. NTERFACE PATTERNS.
2. Introducing Interfaces.
3. Adapter.
4. FADE.
5.
Composite.
6. Bridge.
II. Responsibility Patterns.
7. Introducing Responsibility.
8. SINGLETON.
9. OBSERVER.
10.
MEDIATOR.
11. Proxy.
12. Chain of Responsibility.
13. FLYWEIGHT.
III. CONSTRUCTION PATTERNS.
14. Introducing Construction.
15. Builder.
16. FACTORY METHOD.
17. Abstract Factory.
18. Prototype.
19. Memento.
IV. OPERATION PATTERNS.
20. Introducing Operations.
21. TEMPLATE METHOD.
22. STATE.
23. STRATEGY.
24. Command.
25. INTERPRETER.
V. EXTENSION PATTERNS.
26. Introducing Extensions.
27. DECORATOR.
28. Iterator.
29.
VISITOR.
VI. APPENDIXES.
Appendix A: Directions.
Appendix B: Solutions.
Appendix C: UML at
a Glance.
Glossary.
Bibliography.
Index.