Classic JEE design patterns application