Professional Documents
Culture Documents
Architectural Diagrams
Architectural Diagrams
component
• A component
• A component is a physical and replaceable part of a system
that conforms to and provides the realization of a set of
interfaces. Graphically, a component is rendered as a rectangle
with tabs.
• Names
• A component name must be unique within its
enclosing package
component
Components and
Classes
• There are some significant differences between
components and classes.
• Organizing Components
• You can organize components by grouping them in packages
in the same manner in which you organize classes.
displayLoginForm()
submitName AndPassword()
validateLogin()
f in d b y N a m e ( )
NULL( )
I N VA L I D
displayErrorMessage()
Fig: collaboration diagram for
login
Activity diagram for library
application:
STATE MACHINE DIAGRAM
FOR THE TITLE
CLASS:
STATE DIAGRAM FOR
LIBRARY SYSTEM
Component diagram for
library application:
Deployment diagram for
library applications