ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  Using Dependency Injection in Java EE 5.0
Subject:   Annotations v/s XML
Date:   2006-05-09 02:59:59
From:   JasonSherman
I strongly believe it makes sense to use annotations where required. Nobody liked dependency code to be configured outside in a XML file which is at times difficult to read and looks ugly. But XML is still not dead, there's still a fair deal of code which is not related with any specific piece of code