Use Case Driven Object Modeling with UML.pdf

(11558 KB) Pobierz
374114181 UNPDF
THE EXPERT’S VOICE ® IN UML MODELING
Packed with
examples and
student exercises
Object Modeling
with UML
Theory and Practice
Fast-track your project from use cases to working, maintainable code
Doug Rosenberg and Matt Stephens
Use Case Driven
374114181.044.png 374114181.062.png 374114181.001.png 374114181.002.png 374114181.003.png 374114181.004.png 374114181.005.png 374114181.006.png 374114181.007.png 374114181.008.png 374114181.009.png 374114181.010.png 374114181.011.png 374114181.012.png 374114181.013.png 374114181.014.png 374114181.015.png 374114181.016.png 374114181.017.png 374114181.018.png 374114181.019.png 374114181.020.png 374114181.021.png 374114181.022.png 374114181.023.png 374114181.024.png 374114181.025.png 374114181.026.png 374114181.027.png 374114181.028.png 374114181.029.png 374114181.030.png 374114181.031.png 374114181.032.png 374114181.033.png 374114181.034.png 374114181.035.png 374114181.036.png 374114181.037.png 374114181.038.png 374114181.039.png 374114181.040.png
 
374114181.041.png
 
374114181.042.png
 
374114181.043.png
 
374114181.045.png
 
374114181.046.png 374114181.047.png 374114181.048.png 374114181.049.png 374114181.050.png 374114181.051.png 374114181.052.png 374114181.053.png 374114181.054.png 374114181.055.png 374114181.056.png
 
374114181.057.png 374114181.058.png 374114181.059.png 374114181.060.png 374114181.061.png 374114181.063.png 374114181.064.png 374114181.065.png 374114181.066.png 374114181.067.png 374114181.068.png 374114181.069.png
Use Case Driven Object
Modeling with UML
Theory and Practice
Doug Rosenberg and
Matt Stephens
374114181.070.png 374114181.071.png 374114181.072.png 374114181.073.png
Use Case Driven Object Modeling with UML: Theory and Practice
Copyright © 2007 by Doug Rosenberg and Matt Stephens
All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means,
electronic or mechanical, including photocopying, recording, or by any information storage or retrieval
system, without the prior written permission of the copyright owner and the publisher.
ISBN-13 (pbk): 978-1-59059-774-3
ISBN-10 (pbk): 1-59059-774-5
Printed and bound in the United States of America 987654321
Trademarked names may appear in this book. Rather than use a trademark symbol with every occurrence
of a trademarked name, we use the names only in an editorial fashion and to the benefit of the trademark
owner, with no intention of infringement of the trademark.
Lead Editor: Jonathan Gennick
Technical Reviewer: Dr. Charles Suscheck
Editorial Board: Steve Anglin, Ewan Buckingham, Gary Cornell, Jason Gilmore, Jonathan Gennick,
Jonathan Hassell, James Huddleston, Chris Mills, Matthew Moodie, Dominic Shakeshaft, Jim Sumser,
Matt Wade
Senior Project Manager: Tracy Brown Collins
Copy Edit Manager: Nicole Flores
Assistant Production Director: Kari Brooks-Copony
Senior Production Editor: Laura Cheu
Compositor: Linda Weidemann, Wolf Creek Press
Proofreader: Nancy Riddiough
Indexer: Toma Mulligan
Artist: Kinetic Publishing Services, LLC
Cover Designer: Kurt Krames
Manufacturing Director: Tom Debolski
Distributed to the book trade worldwide by Springer-Verlag New York, Inc., 233 Spring Street, 6th Floor,
New York, NY 10013. Phone 1-800-SPRINGER, fax 201-348-4505, e-mail orders-ny@springer-sbm.com ,
or visit http://www.springeronline.com .
For information on translations, please contact Apress directly at 2560 Ninth Street, Suite 219, Berkeley,
CA 94710. Phone 510-549-5930, fax 510-549-5939, e-mail info@apress.com , or visit http://www.apress.com .
The information in this book is distributed on an “as is” basis, without warranty. Although every pre-
caution has been taken in the preparation of this work, neither the author(s) nor Apress shall have any
liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly
or indirectly by the information contained in this work.
The UML model and source code for the example use cases in this book are available to readers at
http://www.apress.com and http://www.iconixprocess.com/InternetBookstore .
374114181.074.png
For Rob, who has the brightest future of anyone I know.
Keep locating your fastball in unhittable spots,
and good things will continue to happen.
—Doug Rosenberg
To Michelle, for her never-ending patience and support.
—Matt
374114181.075.png
Contents at a Glance
About the Authors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv
About the Technical Reviewer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii
Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xix
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxi
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxvii
CHAPTER 1
Introduction to ICONIX Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
PART 1
■ ■ ■ Requirements Definition
CHAPTER 2
Domain Modeling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
CHAPTER 3
Use Case Modeling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
CHAPTER 4
Requirements Review . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
PART 2
■ ■ ■ Analysis, Conceptual Design, and
Technical Architecture
CHAPTER 5
Robustness Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
CHAPTER 6
Preliminary Design Review . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
CHAPTER 7
Technical Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
PART 3
■ ■ ■ Design and Coding
CHAPTER 8
Sequence Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
CHAPTER 9
Critical Design Review . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
CHAPTER 10 Implementation: Getting from Detailed Design
to Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257
CHAPTER 11 Code Review and Model Update . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297
iv
374114181.076.png
Zgłoś jeśli naruszono regulamin