简体   繁体   English

在apache tomcat 6.0.14中使用spring 3最新资源

[英]using spring 3 latest source in apache tomcat 6.0.14

Is latest spring 3 framework compatible with apache tomcat application server - version 6.0.14? 最新的spring 3框架与apache tomcat应用服务器-6.0.14版兼容吗?

Also can what is the best version of hibernate i can use along with latest version of spring. 还可以与Spring的最新版本一起使用的最佳休眠版本是什么。

Is it fine to use configuration xml file in the spring 3 application setup instead of @configuration annotation in the code ? 在spring 3应用程序安装程序中使用配置xml文件代替代码中的@configuration注释是否可以?

Please share your thoughts. 请分享您的想法。

Thanks 谢谢

Yes - Spring 3 will work fine with version 6.0.14 of Tomcat. 是的-Spring 3可以在Tomcat 6.0.14版本中正常工作。

hibernate 4.1.7 should work fine. 休眠4.1.7应该可以正常工作。 Yes you can use an XML configuration rather than annotations, I've used both in Spring an Tomcat an it works fine. 是的,您可以使用XML配置而不是注释,我在Spring和Tomcat中都使用了它,并且效果很好。

To be honest, I find I prefer the annotations simply by the fact the XML tends to erode quite quickly and isn't touched for months after initial creation. 坦白地说,我发现我更喜欢这些注释,因为XML倾向于很快被侵蚀,并且在最初创建后的几个月内没有被使用。

spring 3 framework compatible with apache tomcat 6 yes. spring 3框架与Apache tomcat 6兼容

best version of hibernate 4, the latest and greatest. 最佳版本的休眠 4,最新和最强大的。

Is it fine to use configuration xml file yes 使用配置xml文件 可以 吗?

(tomcat is not a full blown application server btw, that would be jboss glassfish et al) (tomcat并不是功能完善的应用程序服务器,应该是jboss glassfish等)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM