Tải bản đầy đủ (.pdf) (18 trang)

Software design: Lecture 26 - Sheraz Pervaiz

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (343.77 KB, 18 trang )

1

Software Design
Lecture : 26


2

Panel Discussion on Scenario


3

Problem Statement to be shown
 in Word


4

Analysis of Panel Discussion


5

Sample  problem  can  have  different  correct  versions  of 
solution

No fix solution for a given scenario.

We might agree to disagree


But one problem can’t have more than one final version 
of class diagram


6

Discussion on Rich Picture 
Diagram



8

Categories of UML Diagrams (3)
Static
Use case diagram
Class diagram

Dynamic
Activity diagram
Sequence diagram
Object diagram
State diagram
Collaboration diagram


9

Implementation


Component diagram
Deployment diagram


10

Deployment Diagram
Deployment diagrams are used for describing the 
hardware 

components 

where 

software 

components are deployed

Deployment  diagrams  are  used  to  describe  the 
static deployment view of a system


11

Purpose of the Diagram
 The purpose of deployment diagrams can be 
described as:
i. Visualize hardware topology of a system.
ii.Describe  the  hardware  components  used  to 
deploy software components.

iii.Describe runtime processing nodes.


12

Target Audience
Deployment  diagrams  are  useful  for  system 
engineers.  An  efficient  deployment  diagram  is  very 
important  because  it  controls  the  following 
parameters
i. Performance
ii.Scalability
iii.Maintainability
iv.Portability


13

Artifacts in Deployment Diagram
Nodes: 

 Nodes are nothing but physical hardwares used 
to deploy the application.

 Deployment diagrams consist of nodes and their 
relationships.


14


Sample Scenario
The  following  deployment  diagram  is  a  sample 
to give  an  idea  of  the deployment view of order 
management system.
 Monitor
 Modem
 Caching server
 Server


15

Application Flow
• The  application  is  assumed  to  be  a  web  based 
application  which  is  deployed  in  a  clustered 
environment  using  server  1,  server  2  and  server 
3. The user is connecting to the application using 
internet. The control is flowing from the caching 
server to the clustered environment.


16

Proposed Component Diagram


17


Deployment diagram




×