开发者

Generate full XML configuration from Spring 3 annotations

开发者 https://www.devze.com 2023-02-28 03:30 出处:网络
Is there is a way to generate full XML configuration file based on Spring 3 annotations scattered all over the classes?

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?

0

精彩评论

暂无评论...
验证码 换一张
取 消