Comment Re:XML devils & details (Score 2) 103
In most Java frameworks (especially in Spring) there are two things mixed into a single set of configuration files: items created once while developing application (for example Spring depencency injection bindings, Hibernate mappings etc. - let's call it plumbing) and factual configuration settings (for example: database URL, user and password for application)
So pull them out into a
That's why I prefer annotations rather than XML for binding everything into final application (eg. Guice over Spring)
Except Spring has annotation-based config and it's fairly nice?
(Disclaimer, haven't actually used Guice, but do spend quite a bit of time using Spring - your comments look as though they're based on opinions and experiences from using Spring version $old?)