Add UML diagrams to the JavaDoc

It is possible to add UML diagrams to the JavaDoc generated during the build phase. The first thing to do is to install Graphviz which is an open source graph visualization software. After installation, add the bin folder (D:\Graphviz\bin for instance) to the PATH environment variable. Then configure the pom.xml : Here i chose to … Read more

Aggregation and composition in Java

I usually forget the differences between the composition and the aggregation relationships and mix them together, so here is a memento that i will share with everyone. Composition : a filled diamond Aggregation : an unfilled diamond The relation between a car and a tyre is an aggregation because the tyre is still a tyre … Read more