Escolar Documentos
Profissional Documentos
Cultura Documentos
Agenda
!Introduction !Quality-Modelling Context !Positioning the UML for Web-Services !The Three Modeling Spaces:
!Problem, Solution and Background
!Quality Checks: Syntax, Semantics and Aesthetics !Examples with some UML diagrams in each of the Modeling Spaces
www.MethodScience.com
2
Presenter Profile
! Bhuvan UNHELKAR (BE, MDBA, MSc, PhD) ! University of Western Sydney ! Principal of MethodScience.com ! Author of 5 Books ! Detailed Profile on: www.unhelkar.com
3
www.MethodScience.com
So cio log y
Quality Environment
od olo gy
r age an
Te ch no log y
Me th
www.MethodScience.com
! ! ! !
Testing of Services Registration of Services (Yellow Pages) Maintenance of Services Security as Ongoing Initiative
www.MethodScience.com
Internet
Actor
Client
Server
The Internet Replaces the Physical (Secured and dedicated) connection of a Client-Server Architecture by an Internet Cloud.
7
www.MethodScience.com
Web-Service Basics
Major Ingredients of a Web-based System
Hypertext Markup Language HTML
Scripts
Infrastructure
CORBA, IIOP
Browsers
Graphics, Multimedia
www.MethodScience.com
The UML: Not a Process, Not a Tool, Just excellent and standard Modelling Technique
XP RUP AM QSP
(standard set of (standard set of notations and diagrams; notations and diagrams; CASE tool support) CASE tool support)
UML UML
OPEN
Other Processes
9
www.MethodScience.com
ANALYSIS
DESIGN + CODE
www.MethodScience.com
10
Account
AcceptHomeInsur anceProposal
A1 0 -Ac c o u n t E xe c u tiv e
A2 0 -C lie n t
ValidateProposal Details
Saving
Cheque
Activity Diagrams
John : Client L101 : Loans
detailsValid CoverCommences
RegisterforLoan
Business Logic Database Current paysPremiumInstalment( amount )
www.MethodScience.com
11
< < id > > P o lic yId e n tifie r : In te g e r = 0 0 < < d a ta > > Am o u n tIn s u re d : C u rre n c y = 0 0 < < d a ta > > S ta rtD a te : D a te = 0 1 / 0 7 / 1 9 8 4 < < d a ta > > F in is h D a te : D a te = 0 0 / 0 0 / 0 0 0 0 < < d a ta > > P re m iu m Am o u n t : C u rre n c y = 5 0 0 0 < < fla g > > S ta tu s : B yte = 0 < < b u s in e s s > > g e tAm o u n tIn s u re d (P o lic y Id e n tifie r : P o lic y) : B o o le a n < < b u s in e ss > > s e tS ta rtD a te (P o lic y Id e n tif ie r : In t e g e r, S ta rtD a te : D a te ) : B o o le a n < < b u s in e s s > > s e tF in is h D a te () : B o o le a n < < b u s in e ss > > c a lc P re m iu m ( P o lic yId e n tifie r : I n te g e r, P re m iu m Am o u n t : B o o le a n ) : B o o le a n
1 : s ub m it sC la im D e ta ils ( ) : A 1 0 -Ac c o u n t E xe c u tiv e 6 : g e tC la im T yp e D e s c r( ) 8 : C re a te C la im R e c o rd ( )
: C la im _ T a b le : A 2 0 -C lie n t
P o lic y-Life C o v e r
: C la im T yp e
P o lic y-H o m e In s u ra n c e
Collaboration Diagram
This state chart diagram describes the various states in which the Client can be.
A/c C1001
Current
paysPremiumInstalment( amount )
PolicyHolder
A/c C3003
Claimant
Object Diagram
www.MethodScience.com
InsuranceClient.exe
C lie n t (fro m U s e C a s e Vie w )
InsuranceClient.exe
Deployment Diagrams
P o lic yF o rm
P o lic yC o n tro l
B u s in e s s Lo g ic
Robustness Diagrams
D a ta b a s e
P o lic y-H o me In s u ra n c e
GUI
Account
Tax
Component Diagrams
www.MethodScience.com
13
! Considering Deployment
! Hardware and Operating System related issues ! Bandwidth and Security
! Registration of Services
14
www.MethodScience.com
Aesthetics Semantics
Region of concrete skills: knowledge helps.
Syntax
www.MethodScience.com
15
AcceptHomeInsur anceProposal
ValidateProposal Details
Activity Diagrams
CoverRejected
Semantics: Meaning understood by Business of the daigram Parallel processes, Decision points
detailsValid CoverCommences
www.MethodScience.com
16
Policy <<id>> PolicyIdentifier : Integer = 00 <<data>> A ountInsured : Currency = 00 m <<data>> StartDate : Date = 01/07/1984 <<data>> FinishDate : Date = 00/00/0000 <<data>> Prem A ount : Currency = 5000 ium m <<flag>> Status : Byte = 0 <<business>> getA ountInsured(PolicyIdentifier : Policy) : Boolean m <<business>>setStartDate(PolicyIdentifi r: Integer, StartDate : Date) : Boolean e <<business>> setFinishDate() : Boolean <<business>>calcPrem (PolicyIdentifier : Integer, Prem A ount : Boolean) : Boolean ium ium m UnderwriterDetails nam eOfUnderwriter underwriterType getUnderwriterType() obtainUnderwriterA pproval()
basicInternalV alidation() P li C ()
www.MethodScience.com
GUI
www.MethodScience.com
18
www.MethodScience.com
19
THANK YOU !!
www.MethodScience.com www.unhelkar.com
www.MethodScience.com
21