Design approaches

Here is another memento I wrote to remember the different approaches when writing EJB 3 or Web services. TOP DOWN BOTTOM UP IN THE MIDDLE EJB 3 Develop entity beans first then derive db schema Develop db schema first and drive upwards to create entity beans from your schema Create entity beans and db schema … 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