Hi all,

In my projects I tend to repeat some utility code again and again. For example, produce the EntityManager so I can inject it, produce a Log4J logger so I can inject it, have an exception interceptor for my JSF beans.... and so on. 

What about having a set of utility commands that generate those sorts of classes ? Something like :

util-new-entitymanager-producer
util-new-logger-producer
....

Not sure "util" is the right term.... just brainstorming here


--
Antonio Goncalves 
Software architect and Java Champion

Web site | Twitter | LinkedIn | Paris JUG | Devoxx France