首页Design Patterns Java Workbook - Addison Wesley
设计模式Java手册（英文原版） 格式：PDF格式 大小：4.41 MB (4,629,066 字节) Aimed at the intermediate or advanced Java developer, Design Patterns Java Workbook provides an in-depth and challenging look at 23 "classic" software ...
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.
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
Indianapolis, IN 46290
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.
1. Java (Computer program language) I. Title. II. Series
QA76.73.J38 M483 2002
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
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;
A Midsummer-Night's Dream
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额