How to tag database component in UML?

In a UML component diagram, how does one tag or identify a component as a database so that it is easily recognizable? In the old days, there was a cylinder symbol for displaying a database, but this is not part of UML. The same goes for the application server, for example, how will it be shown?

Are there stereotypes here? Can a component symbol be expanded with graphic elements?

+5
source share
3 answers

UML can be extended through profiles.

The key extensibility mechanisms are stereotypes, limitations, and tagged values.

Stereotypes may have an additional stereotype icon.

  • " "
  • UML
+1

<<database>> ( ) <<infrastructure>> . 1, ( - ).

Something else I want to note - UML is just one modeling method. In the official documentation, I try to adhere to the standard. However, when planning and documenting for the team, I use what makes sense and is understood by the team. For you, this may mean the inclusion of a cylinder with the inscription “DB” or the name DB in the component block.

+1
source

All Articles