Alan Dennis, Barbara Wixom, and David

Similar documents
SYSTEMS ANALYSIS DESIGN

Alan Dennis, Barbara Haley Wixom, and Roberta Roth John Wiley & Sons, Inc. Slides by Candace S. Garrod Red Rocks Community College 3-1

Information Technology Project Management

Communication Diagrams

Software Engineering. System Models. Based on Software Engineering, 7 th Edition by Ian Sommerville

SYLLABUS CIS 3660: OBJECT-ORIENTED SYSTEM ANALYSIS AND DESIGN SPRING 2010

C H A P T E R 8 VALUATION OF INVENTORIES: A COST-BASIS APPROACH

Lesson 14: Configuring File and Folder Access. MOAC : Configuring Windows 8.1

Budgetary Planning. Managerial Accounting Fifth Edition Weygandt Kimmel Kieso. Page 9-2

In this Lecture you will Learn: Systems Development Methodologies. Why Methodology? Why Methodology?

Appendix C- 1. Time Value of Money. Appendix C- 2. Financial Accounting, Fifth Edition

Information Technology Project Management

Introduction. UML = Unified Modeling Language It is a standardized visual modeling language.

Object Oriented System Analyze and Design of Revenue Information System using UML

COSC 3351 Software Design. Recap for the first quiz. Edgar Gabriel. Spring For the 1 st Quiz

Appendix. Time Value of Money. Financial Accounting, IFRS Edition Weygandt Kimmel Kieso. Appendix C- 1

Object Oriented Design

UML Diagram Types. Use Cases do the Following. Use Case Diagram

Using Rational Rose to Create Object-Oriented Diagrams

User experience storyboards: Building better UIs with RUP, UML, and use cases

UML basics: An introduction to the Unified Modeling Language

ISSUES OF STRUCTURED VS. OBJECT-ORIENTED METHODOLOGY OF SYSTEMS ANALYSIS AND DESIGN

Assuming the Role of Systems Analyst & Analysis Alternatives

Process Modeling. Chapter 6. (with additions by Yale Braunstein) Slide 1

How To Create A Diagram On Rational Software Development Platform

Use Cases. Reference: Craig Larman, Applying UML and Patterns, Ch. 6

E-Business Technologies

5. Creating a Gantt Chart

Sequence Diagrams. Massimo Felici. Massimo Felici Sequence Diagrams c

PROJECT MANAGEMENT METHODOLOGY OF OBJECT- ORIENTED SOFTWARE DEVELOPMENT

An Automatic Tool for Checking Consistency between Data Flow Diagrams (DFDs)

Announcements. SE 1: Software Requirements Specification and Analysis. Review: Use Case Descriptions

Masters of Science in Software & Information Systems

Object-oriented design methodologies

Contrastive Analysis of Software Development Methodologies

Chapter 11 Project Management

Object-Oriented Systems Analysis and Design

Accounting for Merchandising Operations

5-1. Prepared by Coby Harmon University of California, Santa Barbara Westmont College

TDDC88 Lab 2 Unified Modeling Language (UML)

Why Documentation Is Important. Documentation of Systems. Document Flowcharts. Types of Documentation

Designing Real-Time and Embedded Systems with the COMET/UML method

How to make a good Software Requirement Specification(SRS)

4. Multiagent Sys stems Design. Part 2: The PROMETHEUS methodology.

Chapter 11. Long-Term Liabilities Notes, Bonds, and Leases

AN INFORMATION SYSTEM TO IMPROVE CUSTOMER SERVICE IN A MAJOR RETIREMENT COMMUNITY

UML Tutorial: Sequence Diagrams.

Chapter 5 Information Technology and Changing Business Processes

Use Case Diagrams. Tutorial

Incorporating Aspects into the UML

Chapter 13: Program Development and Programming Languages

Syllabus M.C.A. Object Oriented Modeling and Design usung UML

CHAPTER 7: The CPU and Memory

Planning for Capital Investments

INFS 2603 BUSINESS SYSTEMS ANALYSIS

CHAPTER 17: File Management

CISC 322 Software Architecture. Project Scheduling (PERT/CPM) Ahmed E. Hassan

IOM433 Creative Information Systems Analysis and Design Spring 2006 T/Th 2-3:50 HOH406 (Labs meet in HOH401)

Object Oriented Analysis and Design and Software Development Process Phases

How To Understand And Understand The Software Development Process In Korea

PERANCANGAN SISTEM INFORMASI

Object-Oriented Design Guidelines

Chapter 4. Learning Objectives. Learning Objectives. Building an E-commerce Web Site. Building an E-commerce Web Site: A Systematic Approach

Cost-Volume-Profit Analysis: Additional Issues

Chap 1. Introduction to Software Architecture

Incremental Analysis. Managerial Accounting Fifth Edition Weygandt Kimmel Kieso. Page 7-2

Scenario-based Requirements Engineering and User-Interface Design

Using Use Cases on Agile Projects

A UML Introduction Tutorial

UNIVERSITY OF SURREY. BSc Programmes in Computing. Level 1 Examination. CS183: Systems Analysis and Design. Time allowed: 2 hours Spring Semester 2006

ETSO Modelling Methodology for the Automation of Data Interchange of Business Processes (EMM)

2. Analysis, Design and Implementation

Fundamentals of Information Systems, Fifth Edition. Chapter 8 Systems Development

An IS Capstone Project: The Mywick Property Management System

Use Cases and Scenarios

Towards an Integration of Business Process Modeling and Object-Oriented Software Development

The Rap on RUP : An Introduction to the Rational Unified Process

Aspect Oriented Strategy to model the Examination Management Systems

Chapter 19. Activity Diagrams

UML for the C programming language.

Income Statements. Accounting for Merchandising Operations

Electronic Healthcare Design and Development

Using Use Cases for requirements capture. Pete McBreen McBreen.Consulting

Chapter 3. Technology review Introduction

Copyright 2013 wolfssl Inc. All rights reserved. 2

Software Engineering. System Modeling

Prepared by Coby Harmon University of California, Santa Barbara Westmont College

THE BCS PROFESSIONAL EXAMINATIONS Certificate in IT. October Examiners Report. Information Systems

CPS122 Lecture: State and Activity Diagrams in UML

MODERN OBJECT-ORIENTED SOFTWARE DEVELOPMENT

(BA122) Software Engineer s Workshop (SEW)


2.1. Introduction to UML: Use-Case Diagram

Agile Web Development with Rails 4

Developing Complex Systems using DOORS and UML

Transcription:

Systems Analysis and Design with UML Version 2.0, Second Edition Alan Dennis, Barbara Wixom, and David Tegarden Chapter 8: Behavioral Modeling John Wiley & Sons, Inc. Copyright 2005 Slide 1

Copyright 2005 John Wiley & Sons, Inc. All rights reserved. Reproduction or translation of this work beyond that permitted in Section 117 of the 1976 United States Copyright Act without the express written permission of the copyright owner is unlawful. Request for further information should be addressed to the Permissions Department, John Wiley & Sons, Inc. The purchaser may make back-up copies for his/her own use only and not for redistribution or resale. The Publisher assumes no responsibility for errors, omissions, or damages, caused by the use of these programs or from the use of the information contained herein. Slide 2

Behavioral Modeling Chapter 8 Slide 3

Key Ideas Behavioral models describe the internal dynamic aspects of an information system that supports business processes in an organization Key UML behavioral models are: sequence diagrams, collaboration diagrams, and statechart diagrams Slide 4

Objectives Understand the rules and style guidelines for sequence and communication diagrams and behavioral state machines. Understand the processes used to create sequence and communication diagrams and behavioral state machines. Be able to create sequence and communication diagrams and behavioral state sa machines. Understand the relationship between the behavioral models and the structural and functional models. Slide 5

BEHAVIORAL MODELS Slide 6

Purpose of Behavioral Models Show how objects colaborate to support each use case in the structural model Depict the internal view of the business process To show the effects of varied processes on the system Slide 7

Interaction Diagram Components Objects Instantiation of a class Has attributes t that t describe an object Operations Send and receive messages Messages Tell object to execute a behavior Slide 8

Sequence Diagrams Illustrate the objects that participate in a use-case Show the messages that pass between objects for a particular use-case Slide 9

Slide 10

Sequence Diagram Syntax AN ACTOR AN OBJECT anobject:aclass A LIFELINE A FOCUS OF CONTROL A MESSAGE amessage() OBJECT DESTRUCTION x Slide 11

Building a Sequence Diagram 1. Determine the context of the sequence diagram 2. Identify the participating i objects 3. Set the lifeline for each object 4. Add messages 5. Place the focus of control on each object s lifeline 6. Validate the sequence diagram Slide 12

Normal Flow of Events: 1. Customer submits a search request to the system. 2. The system provides the customer a list of recommended CDs. 3. The customer chooses one of the CDs to find additional information. 4. The system provides the customer with basic information & CD Reviews 5. The customer calls the maintain order use case. 6. The customer iterates over 3 through 5 until finished shopping. 7. The customer executes the checkout use case. 8. The customer leaves the website. Slide 13

Slide 14

Collaboration Diagrams Essentially an object diagram that shows message passing relationships instead of aggregation or generalization associations. Emphasize the flow of messages among objects, rather than timing and ordering of messages Slide 15

Example Collaboration Diagram Slide 16

Example Sequence Diagram Actor Object Association Message Frame Slide 17

Communication Diagrams 1. Set the context. 2. Identify which objects (actors) and the associations between the objects participate in the collaboration. 3. Layout the communication diagram. 4. Add messages. 5. Validate the communication diagram. Slide 18

CRUD Analysis Example Slide 19

Building a Collaboration Diagram Determine the context of the collaboration diagram Identify the participating objects and their associations Layout objects and associations Add messages Validate the sequence diagram Slide 20

Slide 21

Behavioral State t Machines The behavioral state machine is a dynamic model that shows the different states of the object and what events cause the object to change from one state to another, along with its responses and actions. Slide 22

Elements of a Behavioral State t Machine States Events Transitions Actions Activities Slide 23

Example Behavioral State Machine Diagram Slide 24

Behavioral State Machine Diagram Syntax A STATE AN INITIAL STATE A FINAL STATE AN EVENT A TRANSITION A Frame Slide 25

Building Behavioral State Machine Diagrams Set the context Identify the initial final, and stable states of the object Determine the order in which the object will pass through stable states Identify the events, actions, and guard conditions o associated ated with the transitions t s Validate the statechart diagram Slide 26

Slide 27

Your Turn What distinguishes the sequence diagram, the collaboration diagram, and the behavioral state machine diagram? For what sort of new applications might you need to develop all of these? Are there any new applications that would not need all of these diagrams for full development? Slide 28

Summary Sequence diagrams illustrate the classes that participate in a use case and the messages that pass between them. Collaboration diagrams provide a dynamic view of the object-oriented system and accentuate message passing between collaborating actors and objects. Behavioral State Machine diagrams show the different states t that t a single class passes through in response to events. Slide 29

Expanding the Domain Each year the Association for Computing Machinery (ACM) sponsors a conference on object oriented programming. g For details about future conferences and other ACM programs check: http://oopsla.acm.org http://www.acm.org Slide 30