我可以通过XML的使用Spring没有注释也只? [英] Can I use Spring without annotations at all only through xmls?

查看:164
本文介绍了我可以通过XML的使用Spring没有注释也只?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用Spring注解广泛的Web应用程序。我可以从Spring注解切换回XML配置文件? Encluding控制器,...等等。我需要的配置文件的例子吧。

I have a web application using spring annotations extensively. Can I switch back from spring annotations to xml configuration files? Encluding controllers,..etc. I need examples of the configuration files please.

推荐答案

是的,你可以切换使用XML的外部化配置。最初只有XML的由弹簧支撑。你可以从他们的参考手册的例子。

Yes you can switch to externalize the configuration using xml's. Initially only xml's were supported by spring. You can get examples from their reference manual.

如果您正在寻找完整的实例然后 www.springbyexample.org

If you are looking for complete examples then www.springbyexample.org

这篇关于我可以通过XML的使用Spring没有注释也只?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆