Generate full XML configuration from Spring 3 annotations
Is there is a way to generate full XML configuration file based on Spring 3 annotations scattered all over the classes?
Ideally, I'm looking for a tool that can "parse" a Spring 3 project and output XML configuration, something like开发者_如何学JAVA xdoclet was doing (but off course from Spring annotations)
Is there a tool like this, or a way I could write my own if none exists?
You can always write your own. I'm not aware of one.
Funny, because annotations were added because some people complained about heavy XML configuration. You're swimming against the tide here.
Just curious - why do you want the XML now? Why aren't the annotations sufficient?
精彩评论