0% found this document useful (0 votes)
4 views

Week 8

Uploaded by

moizahmad248
Copyright
© © All Rights Reserved
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

Week 8

Uploaded by

moizahmad248
Copyright
© © All Rights Reserved
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 24

UML (Unified Modeling

Language)
•Component Diagram
•Deployment Diagram
Component diagrams
– Component diagrams provide a physical view of the
current model.
– They show the organization and dependencies among
software components, including source code, binary
code, and executable components.
– You can create one or more component diagrams to
depict components and packages or to represent the
contents of each component package.

2
Component Elements
• Component
– Interacting objects within system

• Class/Interface/Object

• Relation/Association

3
Sample Component Diagram

Component

Interface

Dependency
4
Component
• Development-time or run-time physical object
implementing the system.

5
Interface
• A formally specified and documented
boundary between two components.

6
Dependency
• The components pointed to depend on the
physical objects pointed from.

7
Component Diagram Example

8
Component
Diagram:

9
Example of component diagram:

10
Component Diagram

11
Component Diagram

12
The deployment view
• The deployment view shows the mapping of processes to
hardware.
• Represents physical relationships among software and
hardware components as realized in running system
• Nodes represent computational elements (i.e. processor,
server, etc.)
• This type of diagram is most useful in a distributed
architecture environment where you might have
applications
• and servers at different locations.
• This view contains only one diagram – the deployment
diagram.

13
Sample Deployment Diagram

Connection to
some other
hardware
Hardware
Node

Software
Component

14
Example

15
Example

16
Deployment diagram

17
Example: Deployment diagram shows the relationships
among software and hardware components involved in
real estate transactions.

Components are rectangles with tabs. The database components


use barrel-shaped icons. 18
Courseware Example
• Construct the design elements for a system that can be used to
manage courses/classes
• The organization offers a courses in areas such as learning
management techniques and understanding different software
languages and technologies
• Each course consists of a set of topics
• Tutors assigned courses to teach according to their specialty
and availability
• Publishes and maintains calendar of courses and assigned
tutors
• Course Administrators who manage content, assign courses to
tutors, and define schedule

19
Identify Actors
• Tutors
• Course Administrators
• Students
• Course Administrator is main actor

20
Use Case
• Manage courses
– View courses
– Manage topics for a course
– Manage course information
• Manage course assignments
– View course calendar
– View tutors
– Manage tutor information
– Assign courses to tutors

21
Use Case

22
Collaboration Diagram

23
Component Diagram

24

You might also like