Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the...

39
Chapter 7 Analysis
  • date post

    20-Dec-2015
  • Category

    Documents

  • view

    215
  • download

    0

Transcript of Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the...

Page 1: Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.

Chapter 7Analysis

Page 2: Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.

Introduction

• Objectives:– To produce the first approximation of the shape of the solution and to

lay the groundwork for design

• Primary Artifacts– Design model

• contains:– the key elements of the software solution and their organizations– Use-case realizations

– User-Experience Model• Provides an abstraction of the user interface elements and the user’s interaction

with the system • Contains:

– Screens– Use-Case Storyboards– Navigation Map

Page 3: Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.

Analysis and Design Iterative Development

Page 4: Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.

Analysis Overview

• Two workflow details:1. Define an Initial Architecture

– Focusing on sketching out the software architecture

2. Analyze behavior– Focus on:

– Identifying Screens and use-Case Storyboards

– Identifying the Analysis Classes, their responsibilities and their interactions

Page 5: Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.

Analysis and Design Overview Diagram

Page 6: Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.

Workflow detail: Define an Initial Architecture

• Objectives:– To create an initial “sketch” of the system

architecture that leverages any existing Reference Architectures or architectural framework

– The “sketch” includes:• Overall structure of the system• Its key abstractions, and• Its mechanism

Page 7: Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.

Define an Initial Architecture Workflow Detail Overview Diagram

Page 8: Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.

Activity: Architectural Analysis

• Overview:– To propose an initial architecture for the system, based on

experience gained from similar systems or similar problem domain

• Input Artifacts:– Design guidelines– Glossary– Reference Architecture– Supplementary specification– Use-case Model– Vision

Page 9: Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.

Activity: Architectural Analysis (2)

• Resulting Artifacts:– Deployment Model– Design Guidelines– Design Model– Software Architecture Document

• Steps:– Develop Architecture Overview– Survey Available Assets– Define the Initial Deployment Model– Structure the Design Model– Identify key Abstraction– Identify Analysis Mechanism

Page 10: Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.

Architecture Overview

Page 11: Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.

The Design Model Layers

Page 12: Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.

Key Abstractions

Page 13: Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.

Activity: Review the Initial Architecture

• Overview:– To review the initial architecture and supporting guidelines

• Input Artifacts:– Design guidelines– Glossary– Risk List– Software Architecture Document– Supplementary specification– Use-case Model

• Resulting Artifacts:– Change Request– Review Record

• Steps:– Conduct the Review

Page 14: Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.

Workflow detail: Analyze Behavior

• Objectives:– Adding analysis-level system elements that

realize the Use Cases to this initial structure – Two “streams” of activities

• Model the User Experience– Considers how each use Case is realized in terms of

Screens

• Use Case Analysis– Considers how each Use Case is realized in terms of

Analysis Classes

Page 15: Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.

Analyze Behavior Workflow Detail Overview Diagram

Page 16: Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.

Activity: Model The User Experience

• Overview:– To define how the behavior of each Use Case is

provided by the user-experience elements of the system

• Input Artifacts:– Use-case Model – Supplementary specification– User-Experience Model– User-Experience Guidelines

• Resulting Artifacts:– User-Experience Model

Page 17: Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.

Activity: Model The User Experience (2)

• Steps:– For each use Case:

• Identify the participating Screens

• Model the screen flows

• Define the screen Navigation paths

– Per iteration:• Reconcile the Use Case Storyboards

• Document Usability Requirements

Page 18: Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.

User-Experience Model Structure

Page 19: Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.

Traceability between a Use Case Storyboard and a Use Case

Page 20: Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.

A Screen with Dynamic Content

Page 21: Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.

A Screen with an Input Form

Page 22: Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.

A Screen with User Actions

Page 23: Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.

“Place Bid” Use Case Storyboard Participating Scenes

Page 24: Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.

“Place Bid” Use Case Storyboard Scene Flow

Page 25: Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.

“Place Bid” Use Case Storyboard Participating Scenes (Detailed)

Page 26: Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.

Auction Management

Navigation Map

Page 27: Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.

Activity: Review the User Experience

• Overview:– To review the user-experience artifacts and obtain acceptance of the system’s

user experience from the system’s key stakeholders, especially the end users

• Input Artifacts:– Supplementary specification– Use-case Model – User-Experience Guidelines – User-Experience Model

• Resulting Artifacts:– Change Request– Review Record

• Steps:– Conduct the Review

Page 28: Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.

Activity: Use-Case Analysis

• Overview:– To define how the behavior of each Use Case is provided by

the analysis elements of the system

• Input Artifacts:– Design Guidelines– Design Model – Glossary – Use-case Model – User-Experience Model

• Resulting Artifacts:– Design Model

Page 29: Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.

Activity: Use-Case Analysis(2)

• Steps:– For each use Case:

• Identify the participating Analysis Classes

• Model the use-Case flows

• Describe the Analysis Classes

– Per iteration:• Reconcile the Use Case Realizations

• Ensure consistency with the User-Experience Model

Page 30: Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.

Analysis Elements Model

Structure

Page 31: Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.

Traceability between a Use Case Realization and a Use Case

Page 32: Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.

Analysis Class Type

Page 33: Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.

Typical Interactions among Analysis Classes

Page 34: Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.

“Place Bid” Use Case Realization Participating Analysis Classes

Page 35: Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.

“Place Bid” Use Case Realization Use Case

Page 36: Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.

“Place Bid” Use Case Realization Participating Analysis Classes (Detailed)

Page 37: Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.

Relationship between Requirement Elements and Analysis Elements

Page 38: Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.

Traceability between Boundary Classes and Screens

Page 39: Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.

Activity: Review the Analysis

• Overview:– To review the results of analysis to verify that they accurately represent the system

requirements, are consistent with one another, and can serve as a good basis for design.

• Input Artifacts:– Design Guidelines– Design Model – Supplementary specification– Use-case Model – User-Experience Model

• Resulting Artifacts:– Change Request– Review Record

• Steps:– Conduct the Review