Top Banner
Notes of Rational Related cyt
33

Notes of Rational Related cyt. 2 Outline 3 Capturing business requirements using use cases Practical principles Find the right boundaries for your.

Jan 03, 2016

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Notes of Rational Related cyt. 2 Outline 3 Capturing business requirements using use cases Practical principles  Find the right boundaries for your.

Notes of Rational Related

cyt

Page 2: Notes of Rational Related cyt. 2 Outline 3 Capturing business requirements using use cases Practical principles  Find the right boundaries for your.

2

Outline

Page 3: Notes of Rational Related cyt. 2 Outline 3 Capturing business requirements using use cases Practical principles  Find the right boundaries for your.

3

Capturing business requirements using use cases

• Practical principles Find the right boundaries for your business requirements (Principle 1:

Get the scope right)

Structure your use case model appropriately (Principle 2: Challenge your use case goals and Principle 3: Use requirement attributes to determine the best use case model)

Elaborate your business requirements further (Principle 4: Divide et impera: Decompose by business worker)

Describe your business use cases appropriately (Principle 5: Use case descriptions: State what and not how)

Connect your business use cases, avoid redundancies, and validate your requirements (Principle 6: Produce a domain model and Principle 7: Use entity lifecycles)

Page 4: Notes of Rational Related cyt. 2 Outline 3 Capturing business requirements using use cases Practical principles  Find the right boundaries for your.

4

• Ivar Jacobson is known as the father of Use Cases.

Page 5: Notes of Rational Related cyt. 2 Outline 3 Capturing business requirements using use cases Practical principles  Find the right boundaries for your.

5

UML Concepts-The 4+1 view

• Use Case view Understandability

• Logical View Functionality

• Process View Performance Scalable Throughput

• Implementation View Software management

• Deployment View System topology Delivery Installation

Page 6: Notes of Rational Related cyt. 2 Outline 3 Capturing business requirements using use cases Practical principles  Find the right boundaries for your.

6

Things in UML

Structural Things Annotational ThingsGrouping ThingsBehavioral Things

1. Class

2. Interface

3. Collaboration

4. Use Case

5. Active Class

6. Components

7. Nodes

2. State Mechanism

1. Interaction 1. Packages 1. Notes

Page 7: Notes of Rational Related cyt. 2 Outline 3 Capturing business requirements using use cases Practical principles  Find the right boundaries for your.

7

• Rational Software Development Process iterative and incremental object-oriented managed and controlled

• Inception —The good idea: specifying the end-product vision and its business case, defining the scope of the project.1

• Elaboration —Planning the necessary activities and required resources; specifying the features and designing the architecture.

• Construction —Building the product, and evolving the vision, the architecture and the plans until the product—the completed vision—is ready for transfer to its users community.

• Transition —Transitioning the product to its user’s community, which includes manufacturing, delivering, training, supporting, maintaining the product until the users are satisfied.

Page 8: Notes of Rational Related cyt. 2 Outline 3 Capturing business requirements using use cases Practical principles  Find the right boundaries for your.

8

Page 9: Notes of Rational Related cyt. 2 Outline 3 Capturing business requirements using use cases Practical principles  Find the right boundaries for your.

9

Inception phase• Entry criteria:

an original vision a legacy system an RFP (request for proposal) the previous generation and a list of enhancements some assets (software, know-how, financial assets) a conceptual prototype, or a mock-up

• Exit criteria: an initial business case containing at least:

a clear formulation of the product vision—the core requirements— in terms of functionality, scope, performance, capacity, technology base

success criteria (for instance revenue projection) an initial risk assessment an estimate of the resources required to complete the elaboration phase.

Optionally at the end of the inception phase, we may have: an initial domain analysis model (~10%-20% complete), identifying the top key use

cases, and sufficient to drive the architecture effort. an initial architectural prototype, which at this stage may be a throw-away prototype.

Page 10: Notes of Rational Related cyt. 2 Outline 3 Capturing business requirements using use cases Practical principles  Find the right boundaries for your.

10

Elaboration Phase

• Entry criteria: The products and artifacts described in the exit criteria of the

previous phase. The plan was approved by the project management, and funding

authority, and the resources required for the elaboration phase have been allocated.

• Exit criteria: a detailed software development plan a baseline vision, in the form of a set of evaluation criteria for the

final product objective, measurable evaluation criteria for assessing the results of

the initial iterations of the construction phase a domain analysis model (80% complete), sufficient to be able to call

the corresponding architecture ‘complete’. a software architecture description) an executable architecture baseline.

Page 11: Notes of Rational Related cyt. 2 Outline 3 Capturing business requirements using use cases Practical principles  Find the right boundaries for your.

11

Construction Phase

• Entry criteria: The product and artifacts of the previous iteration. The iteration plan

must state the iteration specific goals: additional capabilities being developed: which use cases or scenarios wil

l be covered risks being mitigated during this iteration defects being fixed during the iteration.

• Exit criteria: A release description document, which captures the results of an iter

ation Test cases and results of the tests conducted on the products, An iteration plan, detailing the next iteration Objective measurable evaluation criteria for assessing the results of

the next iteration(s).

Page 12: Notes of Rational Related cyt. 2 Outline 3 Capturing business requirements using use cases Practical principles  Find the right boundaries for your.

12

Page 13: Notes of Rational Related cyt. 2 Outline 3 Capturing business requirements using use cases Practical principles  Find the right boundaries for your.

13

History of UML

Page 14: Notes of Rational Related cyt. 2 Outline 3 Capturing business requirements using use cases Practical principles  Find the right boundaries for your.

14

Use Cases are Employed Throughout the Process

Page 15: Notes of Rational Related cyt. 2 Outline 3 Capturing business requirements using use cases Practical principles  Find the right boundaries for your.

15

Analysis and Design Overview

Page 16: Notes of Rational Related cyt. 2 Outline 3 Capturing business requirements using use cases Practical principles  Find the right boundaries for your.

16

• Use case analysis Understand the problem Behavior Functional requirements A small model

• Use case design Understand the solution Close to real code Add non-functional requirements A large model

Page 17: Notes of Rational Related cyt. 2 Outline 3 Capturing business requirements using use cases Practical principles  Find the right boundaries for your.

17

Use Case Analysis

Page 18: Notes of Rational Related cyt. 2 Outline 3 Capturing business requirements using use cases Practical principles  Find the right boundaries for your.

18

Find key abstraction

• Essential of the system• Source of key abstraction

Domain knowledge Requirements Glossary Domain model, or the business model

Page 19: Notes of Rational Related cyt. 2 Outline 3 Capturing business requirements using use cases Practical principles  Find the right boundaries for your.

19

Boundary class handles interfaces

• Intermediate between the interface and something outside the system

• User interface, system interface, device interface classes

• At least one boundary class per actor/use case pair

Page 20: Notes of Rational Related cyt. 2 Outline 3 Capturing business requirements using use cases Practical principles  Find the right boundaries for your.

20

Control class coordinates behavior

• They decouple boundary and entity objects from one another.

• Make the system more tolerant of changes in the system boundary.

• One control class for per use case

Page 21: Notes of Rational Related cyt. 2 Outline 3 Capturing business requirements using use cases Practical principles  Find the right boundaries for your.

21

For each use case allocate responsibilities

• Identify analysis classes for basic and alternate flows

• Assign responsibilities to classes

• Build interaction diagram

Page 22: Notes of Rational Related cyt. 2 Outline 3 Capturing business requirements using use cases Practical principles  Find the right boundaries for your.

22

Guidelines for assigning behavior

• Boundary class Communication with actor

• Entity class Encapsulation/manipulation of data in use case

• Control class Control and coordination of use case

Page 23: Notes of Rational Related cyt. 2 Outline 3 Capturing business requirements using use cases Practical principles  Find the right boundaries for your.

23

Page 24: Notes of Rational Related cyt. 2 Outline 3 Capturing business requirements using use cases Practical principles  Find the right boundaries for your.

24

View of Participating Classes (VoPC) for Each Use Case

• Collect each unique class from all interaction diagrams in the use case

• Consolidate different names, like behavior

• Separate like names, different behavior

Page 25: Notes of Rational Related cyt. 2 Outline 3 Capturing business requirements using use cases Practical principles  Find the right boundaries for your.

25

Use Case Design

Page 26: Notes of Rational Related cyt. 2 Outline 3 Capturing business requirements using use cases Practical principles  Find the right boundaries for your.

26

Incorporate subsystem interaces

Page 27: Notes of Rational Related cyt. 2 Outline 3 Capturing business requirements using use cases Practical principles  Find the right boundaries for your.

27

Page 28: Notes of Rational Related cyt. 2 Outline 3 Capturing business requirements using use cases Practical principles  Find the right boundaries for your.

28

Class Design

Page 29: Notes of Rational Related cyt. 2 Outline 3 Capturing business requirements using use cases Practical principles  Find the right boundaries for your.

29

Page 30: Notes of Rational Related cyt. 2 Outline 3 Capturing business requirements using use cases Practical principles  Find the right boundaries for your.

30

Page 31: Notes of Rational Related cyt. 2 Outline 3 Capturing business requirements using use cases Practical principles  Find the right boundaries for your.

31

Page 32: Notes of Rational Related cyt. 2 Outline 3 Capturing business requirements using use cases Practical principles  Find the right boundaries for your.

32

Page 33: Notes of Rational Related cyt. 2 Outline 3 Capturing business requirements using use cases Practical principles  Find the right boundaries for your.

33

Classes with ports and interfaces