Résumé
Java programmers, you now have the resource you need to harness the considerable power of design patterns. This unique book presents examples, exercises, and challenges that will help you apply design pattern theory to real-world problems. Steve Metsker's learn-by-doing approach helps you enhance your practical skills and build the confidence you need to use design patterns effectively in mission-critical applications.
Design Patterns Java™ Workbook features the twenty-three foundational design patterns introduced in the classic book Design Patterns (Addison-Wesley, 1995). In this new, hands-on workbook, the patterns are organized into five major categories: interfaces, responsibility, construction, operations, and extensions. Each category begins with a chapter that reviews and challenges your ability to apply facilities built into Java. These introductory sections are followed by chapters that explain a particular pattern in detail, demonstrate the pattern in use with UML diagrams and Java code, and provide programming problems for you to solve.
With this book you will build expertise in important areas such as:- Adapting domain data to Swing components
- Creating a FACADE for Swing
- Handling recursion in composites
- Understanding the role of BRIDGE in Java database connectivity
- Making the connection between Model/View/Controller and OBSERVER
- Maintaining relational integrity with a mediator
- Using proxies to communicate between computers
- Letting a service provider decide which class to instantiate
- Supporting undo operations with MEMENTO
- Prototyping with clones
- Using COMMAND to supply a service
- Developing thread-safe iterators
- Extending classes with DECORATOR and VISITOR
Solutions to the design pattern challenges appear in the back of the book, so you can compare your own work to expert approaches. A brief guide to UML explains the modeling notation, and an accompanying Web site provides all the code examples from the book.
Through the instruction and exercises offered in Design Patterns Java™ Workbook, you can fully understand the role of design patterns in Java application development, and enhance your ability to put design patterns to work.
Contents
-
- 1. Introduction.
- INTERFACE PATTERNS.
- 2. Introducing Interfaces.
- 3. ADAPTER.
- 4. FAGADE.
- 5. Composite.
- 6. BRIDGE.
- RESPONSIBILITY PATTERNS.
- 7. Introducing Responsibility.
- 8. SINGLETON.
- 9. OBSERVER.
- 10. Mediator.
- 11. Proxy.
- 12. CHAIN OF RESPONSIBILITY.
- 13. FLYWEIGHT.
- CONSTRUCTION PATTERNS.
- 14. Introducing Construction.
- 15. Builder.
- 16. FACTORY METHOD.
- 17. Abstract Factory.
- 18. Prototype.
- 19. MEMENTO.
- OPERATION PATTERNS.
- 20. Introducing Operations.
- 21. TEMPLATE METHOD.
- 22. STATE.
- 23. STRATEGY.
- 24. COMMAND.
- 25. INTERPRETER.
- EXTENSION PATTERNS.
- 26. Introducing Extensions.
- 27. Decorator.
- 28. Iterator.
- 29. VISITOR.
- APPENDIXES.
- A. Directions.
- B. Solutions.
- C. UML at a Glance.
L'auteur - Steven John Metsker
Steven John Metsker is a researcher and author who
explores and writes about ways to expand the abilities of
developers. Steve's published work includes articles that
explain how to maintain relational integrity in object
models, how to solve logic puzzles in Java, and how the
conception of "object" differs between Plato and the OO
languages.
Caractéristiques techniques
PAPIER | |
Éditeur(s) | Addison Wesley |
Auteur(s) | Steven John Metsker |
Parution | 06/05/2002 |
Nb. de pages | 476 |
Format | 20,5 x 25,5 |
Couverture | Broché |
Poids | 1165g |
Intérieur | Noir et Blanc |
EAN13 | 9780201743975 |
Avantages Eyrolles.com
Consultez aussi
- Les meilleures ventes en Graphisme & Photo
- Les meilleures ventes en Informatique
- Les meilleures ventes en Construction
- Les meilleures ventes en Entreprise & Droit
- Les meilleures ventes en Sciences
- Les meilleures ventes en Littérature
- Les meilleures ventes en Arts & Loisirs
- Les meilleures ventes en Vie pratique
- Les meilleures ventes en Voyage et Tourisme
- Les meilleures ventes en BD et Jeunesse