a well designed web application the benefits of object oriented analysis and design simone becker...
TRANSCRIPT
A Well Designed Web Application
The Benefits of Object Oriented Analysis and Design
Simone [email protected]
Agenda Sierra and RUP Benefits of UML Case Study Reference Material / Questions
Sierra and RUP Sierra as a company has embraced RUP RUP provides a methodology for software
development, from project management to implementation
Even before RUP, we have utilized UML to describe the web applications we were building
Benefits UML allows you to organize and model the system you
are going to build in an object oriented manner UML is very visual Case Tool independent You use only that which will add value to your design
Case Study Department of Retirement Systems (DRS) Electronic Services Application (eServices)
Case Study…Business Requirements
Requirements of proposed system are described using use cases
Use cases capture the user’s expectations of the functionality of the system – describes the observable behavior of the system at
the points of interaction with users – identify which actors/roles carry out the use case– written in plain English so that they can be
understood by anyone reading them
Case Study…Anatomy of a Use Case
Title: Actors: Description: Triggers and Frequency: Preconditions: Normal Process: Exception Process: Business Rules: Post Conditions: Performance considerations:
Case Study… Technical Design We structured the application in the typical tiers
– Graphical User Interface– Business Logic Layer– Data Layer
Case Study… Technical Design We identified the components and grouped them within
each tier
Business Services Data ServicesUser Interface
ASP/HTML Component BSPomponent DSP
-clsRetrieve-clsUpdate (transactional)
Case Study… Technical Design We identified the responsibilities of each component Drew sequence diagrams to illustrate the interaction of the
components for each use case
ElectronicServices: Login
ASP
ElectronicServices: User
DSP
ASP RequestObject
2. iValidateUser1. enter userid,
pswd
ElectronicServices: User
BSP
4. rsGetUser
3. get entered userid and pswd
6. case sensitive pswdvalidation
7. ResetLogonCnt
5. [if user 'inactive' or'locked out'] return 1/3
Case Study… Technical Design Deployment Diagram Client Browser
InetPub/wwwroot - ASP/HTML
Web Server
IIS
WebGrabber
COM+Services
(BSP/DSP)
MQSeries
Mainframe
http re
sponse
http re
quest
SQLdb
Case Study… Benefits to DRS An application designed on industry standards The organization of the system is understandable at a
glance due to the visual modeling Everyone on the team was speaking the same
“language”– Business team– Technical team
The methodology and concepts are reusable to any future projects
Reference Material: UML Distilled: A Brief Guide to the Standard Object Modeling
Language (2nd Edition)– By Martin Fowler, Kendall Scott
Questions: