Lecture 8 Electronic Commerce Modelling Techniques

Slides:



Advertisements
Similar presentations
Chapter 4: Requirements Engineering
Advertisements

From use cases to classes (in UML). A use case for writing use cases Use case: writing a use case Actors: analyst, client(s) Client identifies and write.
Use-Cases.
Withdrawal Transaction Use Case Primary Actor: Customer Pre-conditions: The customer must have a valid ATM card and PIN. Post-conditions: The customer.
Use Case Diagrams Damian Gordon.
Use Case & Use Case Diagram
Introduction to Software Testing Chapter 2.6 Graph Coverage for Use Cases Paul Ammann & Jeff Offutt
Use Case Modeling SJTU. Unified Modeling Language (UML) l Standardized notation for object-oriented development l Needs to be used with an analysis and.
USE CASE – ATM EXAMPLE Actors: ATM Customer ATM Operator Use Cases: The customer can withdraw funds from a checking or savings account query the balance.
SWE 214 (071) Use Case Diagrams Slide 1 Use Case Diagrams Examples.
ATM Case Study A Discussion.
Extending the Requirements Model - techniques for detailing use cases
UML and Systems Analysis MIS3502: Application Integration and Evaluation David Schuff
CPSC 333: Foundations of Software EngineeringJ. Denzinger Small Test: Bank account manager System has to run on an automated teller machine. User must.
Introduction to Software Testing Chapter 2.6 Graph Coverage for Use Cases Paul Ammann & Jeff Offutt
Sequence Diagrams. Introduction A Sequence diagram depicts the sequence of actions that occur in a system. The invocation of methods in each object, and.
CS3773 Software Engineering Lecture 03 UML Use Cases.
Chapter 12 ATM Case Study, Part 1: Object-Oriented Design with the UML
ATM User Interface Design. Requirements A bank customer is able to access his or her account using an automatic teller machine. To be able to use an ATM.
Interaction Diagrams Activity Diagram State Machine Diagram
Introduction To System Analysis and Design
January Ron McFadyen1 Ch 9. Use-case model: drawing System Sequence Diagrams Elaboration Iteration 1: a simple cash-only success scenario of.
Object Oriented Analysis Process
Task Analysis Analyzing and representing the activities of your users.
{ How to Use An ATM A simple tutorial to teach how to use ATM Machines.
1 Lab Beginning Analysis and Design 4 Completion of first version of use case diagram initiates the processes of analysis and design. 4 UML provides.
Use Case Modeling. Use case diagram For each use case we develop  Object class diagram (with attributes only)  System sequence diagram (analysis) 
From use cases to classes (in UML). A use case for writing use cases Use case: writing a use case Actors: analyst, client(s) Client identifies and write.
Introduction To System Analysis and design
From Problem Statement to Design
Use Cases 2 ENGR ♯10 Peter Andreae
E-Learning Material Web Application Design 2. Web Application Design Use cases Guidelines Exceptions Interaction Sequence diagrams Finding objects.
Rational Unified Process (Part 1) CS3300 Fall 2015.
Software Waterfall Life Cycle Requirements Construction Design Testing Delivery and Installation Operations and Maintenance Concept Exploration Prototype.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 7 Slide 1 The requirements engineering process.
CS212: Object Oriented Analysis and Design Lecture 4: Objects and Classes - I.
SWE © Solomon Seifu CONSTRUCTION. SWE © Solomon Seifu Lesson 13-2 Testing.
1 Object-Oriented Analysis Use Case Driven. 2 The outline method for OOA 1.Identify object classes within the problem domain 2.Define the behaviour of.
Faculty of Computer & Information Software Engineering Third year
Chapter 6 A Use-Case-Driven Process. 2 Definitions The choice of models and the choice of techniques used to express them have a significant impact on.
SFWR ENG 3KO4 Software Development for Computer/Electrical Engineering Fall 2009 Instructor: Dr. Kamran Sartipi Software Requirement Specification (SRS)
Faculty of Computer & Information
Information Systems Engineering Interaction Diagrams: Sequence Diagram Collbortion Diagram.
January Ron McFadyen1 January 2004 Assignment 1 Due: Friday Jan 23, Implement the ProductSpecification and Payment classes in any OO.
1 Graph Coverage (6). Reading Assignment P. Ammann and J. Offutt “Introduction to Software Testing” ◦ Section
ATM Adv. SW Engineering
CS212: Object Oriented Analysis and Design Lecture 34: UML Activity and Collaboration diagram.
CS212: Object Oriented Analysis and Design Lecture 32: Use case and Class diagrams.
GOALS BUSINESS MATH© Thomson/South-WesternLesson 3.2Slide 1 3.2Electronic Banking Record electronic banking transactions Find account balance when banking.
1 Requirements Engineering From System Goals to UML Models to Software Specifications Axel Van Lamsweerde.
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall Object-Oriented Systems Analysis and Design Using UML Systems Analysis and Design,
UML (Unified Modeling Language)
Chapter 7 Part II Structuring System Process Requirements MIS 215 System Analysis and Design.
Lecture Outline Monday 23 rd February (Week 4) 3 – 3:10pm Review of Requirements Eng. and use cases 3:10 – 3:40pm Exercise on Use Case 3:40-4:40 Class.
PowerPoint Presentation for Dennis, Wixom, & Tegarden Systems Analysis and Design with UML, 5th Edition Copyright © 2015 John Wiley & Sons, Inc. All rights.
UC Diagram & Scenario RKPL C & D. Using Use Case Diagram Use case diagrams are used to visualize, specify, construct, and document the (intended) behavior.
1 Case Study and Use Cases for Case Study Lecture # 28.
Using Use Case Diagrams
Paul Ammann & Jeff Offutt
Structured Analysis and Design Technique
ATM OO Design and Implementation Case Study
Dynamic Modeling of Banking System Case Study - I
Object-Oriented Static Modeling of the Banking System - I
Exercices & Corrections Week 3
SAD ::: Spring 2018 Sabbir Muhammad Saleh
Paul Ammann & Jeff Offutt
Software Engineering System Modeling Chapter 5 (Part 1) Dr.Doaa Sami
Using Use Case Diagrams
Software Engineering System Modeling Chapter 5 (Part 1) Dr.Doaa Sami
Real-Time Structured Analysis and Design Technique (RSTAD)
Presentation transcript:

Lecture 8 Electronic Commerce Modelling Techniques

This Lecture Review of SDLC Object modelling Partly worked example of object modelling References: Hawryszkiewycz (2001) Systems Analysis and Design, Prentice Hall

FEASIBILITY STUDY · establish feasibility & business case Systems Development Life Cycle (SDLC) FEASIBILITY STUDY · establish feasibility & business case · client (sponsor) · system analyst SYSTEM ANALYSIS · determine system requirements · understand old system and problems · logical view of the system · system analyst · managers · users SYSTEM DESIGN · physical design the system · system analyst · developers IMPLEMENTATION · install and test · train users · documentation & user manuals · system analyst · developers · users POST INSTALLATION & REVIEW · fix errors · maintain program · add enhancements · developers · users

Models in Development Strategic Design SWOT Business Model System Model Implementation Model SWOT Rich pictures Scenarios Structured systems analysis Object modelling Programs & databases

Object Orientation and the Linear Cycle System Analysis Use case model Usage world Use cases and object class diagram of existing system Requirements Analysis System world Object class diagram of new system System Design System world Object languages System Development Implementation world Testing Use cases Implementation world

Object Modelling Approach Use Cases User requirements (Rich pictures) ? Sequence diagrams Event flow diagrams State transition diagrams Object Classes System design model

Example Using an Automatic Teller Machine What are the activities that take place through an ATM? Withdrawing cash Transferring funds between accounts Depositing funds Getting reports e.g. balance

Scenarios Rich Pictures Scenarios illustrate the system dynamics by modelling sequences of actions in the user world Rich picture diagrams are one way to model interactions Scenarios may describe: Processes followed Problem solutions

Rich Picture for ATM Card Withdraw cash Insert card Enter PIN Remove card Balance ATM Bank Deposit Account Person Cash Report Slip

Use Case Model A use case model defines all use cases and the actors Each use case has a script and actors Actors are active elements Customers, bank systems The script describes the set of steps for a specific activity Alternate steps must be included

ATM Use Case Model Withdraw cash Transfer funds Bank System Customer Deposit funds Get report Bank System Customer Operator

Use case – ATM withdraw cash A greeting message is waiting on the ATM The customer inserts card into machine ATM asks customer for PIN Customer enters PIN ATM displays customer’s account and requests selection Customer selects an account Machine displays account limits Customer keys in withdrawal amount The money is dispensed Card is ejected Receipt is printed out

An alternative course of events must be written for each exception Alternatives Events What if card is not accepted? What if the customers enters an incorrect PIN? What if the withdrawal is too large? What is the customer stops the process and with draws the card? An alternative course of events must be written for each exception

Final Use Case Script ATM Withdraw cash Normal course ……… ……… ……… Alternative courses 1. 2. ………

Use case to objects Each use case is examined to identify objects Three objects can be readily identified in the ATM withdraw cash use case Customer ATM Bank System

Objects communicate Object 1 Data + Methods Object 2 Data + Methods Message Response

Sequence Diagram Describe messages exchanged between objects Sequence diagram rules Generally, each actor becomes an object Time moves downwards No decisions are shown Create a sequence diagram for each use case Every alternative has its own sequence diagram

Sequence Diagram Customer ATM Bank System Customer card Request for PIN PIN PIN & card details PIN OK for account #s Account numbers Selected account Selected account Limits Limits Amount Amount Approval Receipt

Transition Diagrams Models dynamics of the system as the system state changes as a result of messages and events Circles or ellipses represent state of an object An arrow represents a change

ATM Transition Diagram Customer inserts card Receipt Print receipt dispense cash Idle Reading card Request PIN Waiting for PIN Customer enters correct amount Customer removes card Enters PIN Limit exceeded Waiting for selection Waiting for selection Ask bank to check PIN Request PIN again Display “Invalid PIN” msg Limit reminder Request security check Limits Display limits Waiting for selection Displaying accounts Waiting for authority Customer selects account Accounts PIN OK Source: Hawryszkiewycz (2001) p.287

Event Flow Diagram Bring all sequence diagrams together Get everything to do with an object in one place Obtain a first cut of the object class Note: All objects in the sequence diagrams appear only once in the event flow diagram All messages are shown in the event flow diagram

Event Flow Diagram Event flow diagram Use Case 1 Simple flow Exception Sequence diagram 1 Sequence diagram 2 Event flow diagram Use Case 2 Simple flow Exception Sequence diagram 3 Sequence diagram 4

Simplified Event Flow Diagram Customer inserts card PIN and card information CUSTOMER get-PINrequest; get-accounts; get-limits; get-receipt; ATM get-card; get-PIN; get-account; get-amount; get-PINOK; get-limits; get-approval; CUSTOMER get-PINrequest; get-accounts; get-limits; get-receipt; BANK SYSTEM get-PIN&Card; get-selection; get-amount; Customer enters PIN Selected account amt Selected account amt PINOK / account numbers Request PIN Display accounts Display limits Receipt Limits approval

First cut object class Attributes Methods OBJECT1 A B C D E F G get-msg1(A,B); get-msg2(C,D); get-msg7B,D); get-msg8(A,F); Msg1(A,B) Msg2(E,F) Msg5(A,F) Msg7(E,G) OBJECT1 Msg3(A,E) Msg4(E,F) Msg7(B,D) Msg8(A,F) Attributes Methods

OOSE Development Process Interfaces Use case model Concept formation Requirements Model Subject noun list Object class model with methods Requirements definition Analysis model Refined object class model with detailed functions, attributes and control Construction Design Model Testing Implementation level Objects and methods as programs

Object Approach & RAD Object methods are suitable for prototyping and rapid application development After JAD start with some objects connect into the system Experiment Add new functionality to objects Add new objects Use objects from a library Specialise them and save (object reuse)

Business Process Improvement Modelling Workflows A way of modelling the business functions Modified flowcharting OK for process modelling – used in BPR Users can understand

Private Study Workshop Build an EC store front using MyFirstStore