On May 17, 2005, at 11:39 AM, David Jencks wrote:
As far as the form of metadata needed for an IOC container, I currently prefer GBeanInfo to the alternatives I am aware of. I think it's important to specify exactly what interface is presented to the container, which IIUC spring does not require, and after working a lot with the jboss xmlbean implementation and writing the xdoclet xmlbeans plugin, I think that xml is perhaps the worst choice possible, and javadoc tags not much better.
Why not support all three? We could provide a simple pluggable interface to get the required metadata from store, be it GBeanInfo, xml, annotations, etc.
-dain
