Académique Documents
Professionnel Documents
Culture Documents
Development
Model
Static
Dynamic
Provides a systems
parameters at rest or at a
specific point in time.
Why modeling?
Describing a
abstraction.
Advantages
system
at
high
level
of
Reduces Complexity
Easy to understand systems
Reduces conflicts between customer and designers.
Clarity
Familiarity
Maintenance
Simplification
Advantages of modeling
Easy to express complex ideas
Reduce complexity
Enhance & reinforce learning and
training
Low cost
Easy to change the model
UML Diagrams
1.
2.
3.
4.
5.
6.
7.
8.
Class diagram
Use case diagram
Activity diagram
Sequence diagram
Collaboration diagram
State chart diagram
Component diagram
Deployment diagram
UML Concepts
Sequence of transactions
Each transaction invoked from
outside the system- Actors
Internal objects interact with one
another and with system surrounding
Defines outside(Actors) and
Inside(usecases)
An actor represents
anything that interacts
with the system.
A use case defines a set of
use-case instances, where
each instance is a
sequence of actions a
system performs that
yields an observable result
of value to a particular
actor.
Actor
Use Case
Components of Usecase
diagram
Actor: A role that a user plays with respect to the system,
including human users and other systems. e.g.,
inanimate physical objects (e.g. robot); an external
system that needs some information from the current
system.
Usecase: A set of scenarios that describing an
interaction between a user and a system, including
alternatives.
System boundary: rectangle diagram representing the
boundary between the actors and the system.
Construct Description
use case
actor
Syntax
U seC aseN am e
A c to rN a m e
system
boundary
Actors
Anything that interacts with a usecase.
Human user
External hardware
Another system
Category of users rather than
physical
user
Assosiation
Actor -----------> Usecase
Genaralization
Actor -----------> Actor
Usecase ------------> Usecase
Extend
Base(Usecase) <-----------Spl(Usecase)
Include
base(Usecase) ----------->
Spl(Usecase)
_____
Transactio
n
Transactio
n
Transactio
n
withdraw
Extend
include
Help
Customer
Authentic
ation
Construct
Description
Syntax
association
<<extend>>
(contd)
<<include>>
Actor
Vending machine
D
M
C
u s t o m
e p o s it
a k e
o n e y
S e le c t io n
e r
C a n c e lla t io n
U p d a t e
a i n t e n a n c e
O p e r a t o r
a t a b a s e
Practice: Solution
Billing
System
The external
system
responsible for
student billing
A person who is
teaching classes
at the University
Professor
Registrar
Student
Course
Catalog
A person who is
registered to take
courses at the
University
The unabridged
catalog of all
courses offered
by the University
Student
Register for Courses
Course Catalog
Login
Maintain Student Information
Select Courses to Teach
Registrar
Professor
Close Registration
Submit Grades
Billing
System
Fault Tolerance
A system should be fault-tolerant
Should be able to continue functioning
in the presence of faults
Dependability
Dependability Includes
Availability
Reliability
Safety
Maintainability
Faults
Failure Models
Type of failure
Description
Crash failure
Omission failure
Receive omission
Send omission
Timing failure
Response failure
Value failure
State transition failure
Arbitrary failure
(Byzantine failure)
Failure Masking
Transactions