Design Patterns Workbook, 2002.pdf
(
5089 KB
)
Pobierz
Design Patterns Java™ Workbook
Design Patterns Java™ Workbook
Steven John Metsker
Publisher: Addison Wesley
March 25, 2002
ISBN: 0-201-74397-3, 496 pages
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(TM) 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(TM) Workbook
, you
can fully understand the role of design patterns in Java application development, and enhance
your ability to put design patterns to work.
Copyright
Many of the designations used by manufacturers and sellers to distinguish their products are
claimed as trademarks. Where those designations appear in this book, and Addison-Wesley
was aware of a trademark claim, the designations have been printed with initial capital letters
or in all capitals.
The author and publisher have taken care in the preparation of this book, but make no
expressed or implied warranty of any kind and assume no responsibility for errors or
omissions. No liability is assumed for incidental or consequential damages in connection with
or arising out of the use of the information or programs contained herein.
The publisher offers discounts on this book when ordered in quantity for special sales. For
more information, please contact:
Pearson Education Corporate Sales Division
201 W. 103
rd
Street
Indianapolis, IN 46290
(800) 428-5331
corpsales@pearsoned.com
Visit Addison-Wesley on the Web: www.aw.com/cseng/
Library of Congress Cataloging-in-Publication Data
Metsker, Steven John.
Design patterns Java workbook / Steven John Metsker.
p. cm.—(The Software patterns series)
Includes bibliographical references and index.
ISBN 0-201-74397-3
1. Java (Computer program language) I. Title. II. Series
QA76.73.J38 M483 2002
005.13'3—dc21
2002018313
Copyright © 2002 by Pearson Education, Inc.
All rights reserved. No part of this publication may be reproduced, stored in a retrieval
system, or transmitted, in any form, or by any means, electronic, mechanical, photocopying,
recording, or otherwise, without the prior consent of the publisher. Printed in the United
States of America. Published simultaneously in Canada.
For information on obtaining permission for use of material from this work, please submit a
written request to:
Pearson Education, Inc.
Rights and Contracts Department
75 Arlington Street, Suite 300
Boston, MA 02116
Fax: (617) 848-7047
Text printed on recycled paper
1 2 3 4 5 6 7 8 9 10—CRS—0605040302
First printing, March 2002
Dedication
To Alison
Who fills our house with glimmering light
With her loving, cozy fire
And Emma-Kate and Sarah-Jane
Our precious elves, beloved sprites
Who hop as light as bird from brier.
Through the house give glimmering light
By the dead and drowsy fire;
Every elf and fairy sprite
Hop as light as bird from brier;
—William Shakespeare
A Midsummer-Night's Dream
Plik z chomika:
Ryjufka
Inne pliki z tego folderu:
Antipatterns, 2006.pdf
(3423 KB)
Applied Java Patterns, 2001.pdf
(2772 KB)
Concurrent Programming in Java, Design Patterns, 1999.chm
(1416 KB)
Design Patterns Workbook, 2002.pdf
(5089 KB)
Design Patterns Explained With Java and UML2, 2008.pdf
(1343 KB)
Inne foldery tego chomika:
Advanced Topics
Ant
Application Servers
Certification Guides
Data Structures
Zgłoś jeśli
naruszono regulamin