Sie sind auf Seite 1von 10

CBSE 2014

Modeling Components with UML 2


– Exercises and Discussion
Concepts Review
• Component
• Required Interface
• Provided Interface
• Port
• Dependency
• Assembly Connector
• Delegation Connector
Example: a component,
black-box view

• http://www.ibm.com/developerworks/rational/library/dec04/bell/
Example: a component diagram

• http://www.ibm.com/developerworks/rational/library/dec04/bell/
Example: a component
white-box view

• http://www.ibm.com/developerworks/rational/library/dec04/bell/
Example: a component with ports
UML 2 Component Diagrams
• Examples:
– Online Shopping System, http://www.uml-
diagrams.org/examples/online-shopping-uml-
component-diagram-example.html
– Web-based Meal Ordering Service,
http://msdn.microsoft.com/en-
us/library/dd409390.aspx
• Goals:
– Reading component diagrams (recognize the
elements of component diagrams)
– Examples of using component diagrams to describe
system’s structure
//www.uml-diagrams.org/examples/online-shopping-uml-component-diagram-example.html
Source: MSDN - UML Component Diagrams Reference
http://msdn.microsoft.com/en-us/library/dd409390.aspx
UML Tools
• Wikipedia List of UML tools
• http://en.wikipedia.org/wiki/List_of_Unified_Mod
eling_Language_tools

• StarUML (free StarUML1 version, free StarUML2


Beta version)
• UMLet (free simple UML drawing tool, includes
component diagrams )
• MS Visio (60 days trial version)
• IBM Rational Software Architect (30 days trial)

Das könnte Ihnen auch gefallen