Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UML. How to illustatrate usage of external libraries?

Tags:

java

uml

How to illustrate in UML dependency on external libraries, like Hibernate, Apache POI etc?

like image 855
WelcomeTo Avatar asked Oct 23 '25 14:10

WelcomeTo


1 Answers

You would normally represent this in an implementation diagram that shows the module (component) structure. Simply put the external libraries on the diagram and stereotype them appropriately to make it clear that they are external dependencies. Then use a "uses" dependency relation to indicate the parts of the system that depend on them.

For example, to use a trivially simple case ...

enter image description here

This shows two system modules (JAR files) with one dependent on the other, and one of them dependent on an external JAR file. The stereotypes used to make the nature of the modules clear are custom stereotypes that I've created for this model (as UML doesn't come with such specific stereotypes in its meta-model).

like image 53
Eoin Avatar answered Oct 25 '25 18:10

Eoin