SlideShare a Scribd company logo
1 of 17
UNIT I UML DIAGRAMS
Introduction to OOAD – Unified Process –
UML diagrams – Use Case – Class Diagrams–
Interaction Diagrams – State Diagrams –
Activity Diagrams –
Package, component and Deployment Diagrams.
Component Diagram
Shows the various components in a system and
their dependencies
A component represents a modular,
deployable, and replaceable part
of a system that encapsulates implementation
and exposes a set of interfaces
Overview
• Component diagrams are used to model physical aspects of a system
• Physical aspects are the elements like executables, libraries, packages,
files, documents etc which resides in a node.
• A component diagram
– Shows the various components in a system and their dependencies.
Purpose
• Purpose of the component diagram can be summarized as:
1. Visualize the components of a system.
2. Construct executables by using forward and reverse engineering.
3. Describe the organization and relationships of the components.
• A single component diagram cannot represent the entire system
– But a collection of diagrams are used to represent the whole.
• This diagrams are used during the implementation phase of an application.
– But it is prepared well in advance to visualize the implementation details.
Usage of Component Diagram
• Model the components of a system.
• Model database schema.
• Model executables of an application.
• Model system's source code.
How to draw Component Diagram?
• Before drawing a component diagram the following artifacts are to be
identified clearly:
1. Files used in the system.
2. Libraries and other objects relevant to the application.
3. Relationships among the objects.
• After identifying the objects the following points needs to be followed:
1. Use meaningful name to identify the component to which diagram is drawn.
2. Prepare a mental layout before producing using tools.
3. Use notes for clarifying important points.
Notations - Component
• A component represents a physical module of code.
• Component : A modular unit with well-defined interfaces that is replaceable within
its environment
– fosters reuse
– Stresses interfaces
• Graphical representation: special kind of class
Nodes and Edges
• Following nodes & edges are typically drawn in a component diagram:
– component,
– interface,
– provided interface,
– required interface,
– class,
– port,
– connector,
– artifact,
– component realization,
– dependency,
– usage.
Components with Ports
• Port represents a service or behavior that a component requires.
• Ports may specify inputs and outputs as they can operate bi-directionally.
• A component with a port for online services
– Along with two provided interfaces order entry and tracking
– Required interface payment.
lollipop notation
socket notatio
small squares
Assembly Connector
• Assembly connector
– Bridges a component’s required interface (Component1) with the provided
interface of another component (Component2);
• This allows one component to provide the services that another component
requires.
Views
• Two views: (i) Black-box (ii) White-box
• Black-box view: interfaces provided and required only
• White-box view: structure of interfaces and/or internal structure
Nested components
• Components can be contained in other components
• Interfaces can then be delegated through ports
Component Diagram for Bank Transaction
Major elements of UML component diagram
component, provided interface, required interface, port, connectors.
10 component diagram

More Related Content

What's hot

What's hot (20)

Component diagram
Component diagramComponent diagram
Component diagram
 
09 package diagram
09 package diagram09 package diagram
09 package diagram
 
Class diagrams
Class diagramsClass diagrams
Class diagrams
 
Uml deployment diagram
Uml deployment diagramUml deployment diagram
Uml deployment diagram
 
Uml Activity Diagram
Uml Activity DiagramUml Activity Diagram
Uml Activity Diagram
 
Object Oriented Analysis and Design
Object Oriented Analysis and DesignObject Oriented Analysis and Design
Object Oriented Analysis and Design
 
Object Oriented Design in Software Engineering SE12
Object Oriented Design in Software Engineering SE12Object Oriented Design in Software Engineering SE12
Object Oriented Design in Software Engineering SE12
 
UNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGEUNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGE
 
Uml with detail
Uml with detailUml with detail
Uml with detail
 
Case Study Uml
Case Study UmlCase Study Uml
Case Study Uml
 
Slide 4 Interaction Diagram
Slide 4 Interaction DiagramSlide 4 Interaction Diagram
Slide 4 Interaction Diagram
 
Component based software engineering
Component based software engineeringComponent based software engineering
Component based software engineering
 
Uml Presentation
Uml PresentationUml Presentation
Uml Presentation
 
Overview of UML Diagrams
Overview of UML DiagramsOverview of UML Diagrams
Overview of UML Diagrams
 
UML
UMLUML
UML
 
Interaction Modeling
Interaction ModelingInteraction Modeling
Interaction Modeling
 
Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case Diagram
 
Uml class Diagram
Uml class DiagramUml class Diagram
Uml class Diagram
 
Architectural modeling chapter 5 of omd
Architectural modeling chapter 5 of omdArchitectural modeling chapter 5 of omd
Architectural modeling chapter 5 of omd
 
uml reference package_diagram
uml reference package_diagramuml reference package_diagram
uml reference package_diagram
 

Similar to 10 component diagram

OOAD Anna University Notes Unit - III.ppt
OOAD Anna University  Notes Unit - III.pptOOAD Anna University  Notes Unit - III.ppt
OOAD Anna University Notes Unit - III.pptBlessingChristiana2
 
Architectural Modeling
Architectural ModelingArchitectural Modeling
Architectural ModelingAMITJain879
 
Software design, software engineering
Software design, software engineeringSoftware design, software engineering
Software design, software engineeringRupesh Vaishnav
 
Bab 11 component diagram 2010
Bab 11 component diagram 2010Bab 11 component diagram 2010
Bab 11 component diagram 2010donasiilmu
 
Chapter 3_Software Design sunorganisedASE_BW_finalised.ppt
Chapter 3_Software Design sunorganisedASE_BW_finalised.pptChapter 3_Software Design sunorganisedASE_BW_finalised.ppt
Chapter 3_Software Design sunorganisedASE_BW_finalised.pptBule Hora University
 
Arch06 1
Arch06 1Arch06 1
Arch06 1nazn
 
Seii unit7 component-level-design
Seii unit7 component-level-designSeii unit7 component-level-design
Seii unit7 component-level-designAhmad sohail Kakar
 
Software architecture and software design
Software architecture and software designSoftware architecture and software design
Software architecture and software designMr. Swapnil G. Thaware
 
Pressman ch-11-component-level-design
Pressman ch-11-component-level-designPressman ch-11-component-level-design
Pressman ch-11-component-level-designOliver Cheng
 
Component and Deployment Diagram - Brief Overview
Component and Deployment Diagram - Brief OverviewComponent and Deployment Diagram - Brief Overview
Component and Deployment Diagram - Brief OverviewRajiv Kumar
 
Deployment Diagram Software engineering.pptx
Deployment Diagram Software engineering.pptxDeployment Diagram Software engineering.pptx
Deployment Diagram Software engineering.pptxRamsha72
 
Component-Based and Model-Driven Engineering: what is the difference? A CBSE ...
Component-Based and Model-Driven Engineering: what is the difference? A CBSE ...Component-Based and Model-Driven Engineering: what is the difference? A CBSE ...
Component-Based and Model-Driven Engineering: what is the difference? A CBSE ...Ivica Crnkovic
 
Unit 1- OOAD ppt
Unit 1- OOAD  pptUnit 1- OOAD  ppt
Unit 1- OOAD pptPRIANKA R
 
Fundamentals of Software Engineering
Fundamentals of Software Engineering Fundamentals of Software Engineering
Fundamentals of Software Engineering Madhar Khan Pathan
 

Similar to 10 component diagram (20)

OOAD Anna University Notes Unit - III.ppt
OOAD Anna University  Notes Unit - III.pptOOAD Anna University  Notes Unit - III.ppt
OOAD Anna University Notes Unit - III.ppt
 
Component diagram
Component diagramComponent diagram
Component diagram
 
Architectural Modeling
Architectural ModelingArchitectural Modeling
Architectural Modeling
 
Software design, software engineering
Software design, software engineeringSoftware design, software engineering
Software design, software engineering
 
Bab 11 component diagram 2010
Bab 11 component diagram 2010Bab 11 component diagram 2010
Bab 11 component diagram 2010
 
Chapter 3_Software Design sunorganisedASE_BW_finalised.ppt
Chapter 3_Software Design sunorganisedASE_BW_finalised.pptChapter 3_Software Design sunorganisedASE_BW_finalised.ppt
Chapter 3_Software Design sunorganisedASE_BW_finalised.ppt
 
Arch06 1
Arch06 1Arch06 1
Arch06 1
 
Deployement diagram
Deployement diagramDeployement diagram
Deployement diagram
 
Seii unit7 component-level-design
Seii unit7 component-level-designSeii unit7 component-level-design
Seii unit7 component-level-design
 
Uml Diagrams
Uml DiagramsUml Diagrams
Uml Diagrams
 
Software architecture and software design
Software architecture and software designSoftware architecture and software design
Software architecture and software design
 
Pressman ch-11-component-level-design
Pressman ch-11-component-level-designPressman ch-11-component-level-design
Pressman ch-11-component-level-design
 
Uml2
Uml2Uml2
Uml2
 
Component and Deployment Diagram - Brief Overview
Component and Deployment Diagram - Brief OverviewComponent and Deployment Diagram - Brief Overview
Component and Deployment Diagram - Brief Overview
 
Deployment Diagram
Deployment DiagramDeployment Diagram
Deployment Diagram
 
Deployment Diagram Software engineering.pptx
Deployment Diagram Software engineering.pptxDeployment Diagram Software engineering.pptx
Deployment Diagram Software engineering.pptx
 
Component-Based and Model-Driven Engineering: what is the difference? A CBSE ...
Component-Based and Model-Driven Engineering: what is the difference? A CBSE ...Component-Based and Model-Driven Engineering: what is the difference? A CBSE ...
Component-Based and Model-Driven Engineering: what is the difference? A CBSE ...
 
Unit 1- OOAD ppt
Unit 1- OOAD  pptUnit 1- OOAD  ppt
Unit 1- OOAD ppt
 
Component level design
Component   level designComponent   level design
Component level design
 
Fundamentals of Software Engineering
Fundamentals of Software Engineering Fundamentals of Software Engineering
Fundamentals of Software Engineering
 

More from Baskarkncet

More from Baskarkncet (18)

Unit_I.pptx
Unit_I.pptxUnit_I.pptx
Unit_I.pptx
 
Cocomo model
Cocomo modelCocomo model
Cocomo model
 
Unit 1
Unit 1Unit 1
Unit 1
 
HCI
HCIHCI
HCI
 
03 x files
03 x files03 x files
03 x files
 
03 namespace
03 namespace03 namespace
03 namespace
 
02 xml schema
02 xml schema02 xml schema
02 xml schema
 
02 well formed and valid documents
02 well formed and valid documents02 well formed and valid documents
02 well formed and valid documents
 
00 introduction
00 introduction00 introduction
00 introduction
 
01 xml document structure
01 xml document structure01 xml document structure
01 xml document structure
 
08 state diagram and activity diagram
08 state diagram and activity diagram08 state diagram and activity diagram
08 state diagram and activity diagram
 
07 interaction diagrams
07 interaction diagrams07 interaction diagrams
07 interaction diagrams
 
06 class diagrams
06 class diagrams06 class diagrams
06 class diagrams
 
05 use case
05 use case05 use case
05 use case
 
03 unified process
03 unified process03 unified process
03 unified process
 
02 uml
02 uml02 uml
02 uml
 
04 uml diagrams
04 uml diagrams04 uml diagrams
04 uml diagrams
 
01 introduction
01 introduction01 introduction
01 introduction
 

Recently uploaded

CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
Correctly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleCorrectly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleAlluxio, Inc.
 
Solving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.pptSolving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.pptJasonTagapanGulla
 
lifi-technology with integration of IOT.pptx
lifi-technology with integration of IOT.pptxlifi-technology with integration of IOT.pptx
lifi-technology with integration of IOT.pptxsomshekarkn64
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
Piping Basic stress analysis by engineering
Piping Basic stress analysis by engineeringPiping Basic stress analysis by engineering
Piping Basic stress analysis by engineeringJuanCarlosMorales19600
 
Class 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm SystemClass 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm Systemirfanmechengr
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catcherssdickerson1
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionMebane Rash
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHC Sai Kiran
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
Earthing details of Electrical Substation
Earthing details of Electrical SubstationEarthing details of Electrical Substation
Earthing details of Electrical Substationstephanwindworld
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)dollysharma2066
 
computer application and construction management
computer application and construction managementcomputer application and construction management
computer application and construction managementMariconPadriquez1
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 

Recently uploaded (20)

CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
Correctly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleCorrectly Loading Incremental Data at Scale
Correctly Loading Incremental Data at Scale
 
Solving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.pptSolving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.ppt
 
lifi-technology with integration of IOT.pptx
lifi-technology with integration of IOT.pptxlifi-technology with integration of IOT.pptx
lifi-technology with integration of IOT.pptx
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
Piping Basic stress analysis by engineering
Piping Basic stress analysis by engineeringPiping Basic stress analysis by engineering
Piping Basic stress analysis by engineering
 
Class 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm SystemClass 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm System
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of Action
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECH
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
Earthing details of Electrical Substation
Earthing details of Electrical SubstationEarthing details of Electrical Substation
Earthing details of Electrical Substation
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
 
computer application and construction management
computer application and construction managementcomputer application and construction management
computer application and construction management
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 

10 component diagram

  • 1. UNIT I UML DIAGRAMS Introduction to OOAD – Unified Process – UML diagrams – Use Case – Class Diagrams– Interaction Diagrams – State Diagrams – Activity Diagrams – Package, component and Deployment Diagrams.
  • 2. Component Diagram Shows the various components in a system and their dependencies A component represents a modular, deployable, and replaceable part of a system that encapsulates implementation and exposes a set of interfaces
  • 3. Overview • Component diagrams are used to model physical aspects of a system • Physical aspects are the elements like executables, libraries, packages, files, documents etc which resides in a node. • A component diagram – Shows the various components in a system and their dependencies.
  • 4. Purpose • Purpose of the component diagram can be summarized as: 1. Visualize the components of a system. 2. Construct executables by using forward and reverse engineering. 3. Describe the organization and relationships of the components. • A single component diagram cannot represent the entire system – But a collection of diagrams are used to represent the whole. • This diagrams are used during the implementation phase of an application. – But it is prepared well in advance to visualize the implementation details.
  • 5. Usage of Component Diagram • Model the components of a system. • Model database schema. • Model executables of an application. • Model system's source code.
  • 6. How to draw Component Diagram? • Before drawing a component diagram the following artifacts are to be identified clearly: 1. Files used in the system. 2. Libraries and other objects relevant to the application. 3. Relationships among the objects. • After identifying the objects the following points needs to be followed: 1. Use meaningful name to identify the component to which diagram is drawn. 2. Prepare a mental layout before producing using tools. 3. Use notes for clarifying important points.
  • 7. Notations - Component • A component represents a physical module of code. • Component : A modular unit with well-defined interfaces that is replaceable within its environment – fosters reuse – Stresses interfaces • Graphical representation: special kind of class
  • 8. Nodes and Edges • Following nodes & edges are typically drawn in a component diagram: – component, – interface, – provided interface, – required interface, – class, – port, – connector, – artifact, – component realization, – dependency, – usage.
  • 9.
  • 10. Components with Ports • Port represents a service or behavior that a component requires. • Ports may specify inputs and outputs as they can operate bi-directionally. • A component with a port for online services – Along with two provided interfaces order entry and tracking – Required interface payment. lollipop notation socket notatio small squares
  • 11. Assembly Connector • Assembly connector – Bridges a component’s required interface (Component1) with the provided interface of another component (Component2); • This allows one component to provide the services that another component requires.
  • 12. Views • Two views: (i) Black-box (ii) White-box • Black-box view: interfaces provided and required only • White-box view: structure of interfaces and/or internal structure
  • 13. Nested components • Components can be contained in other components • Interfaces can then be delegated through ports
  • 14.
  • 15. Component Diagram for Bank Transaction
  • 16. Major elements of UML component diagram component, provided interface, required interface, port, connectors.