简体   繁体   中英

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?

Also can what is the best version of hibernate i can use along with latest version of spring.

Is it fine to use configuration xml file in the spring 3 application setup instead of @configuration annotation in the code ?

Please share your thoughts.

Thanks

Yes - Spring 3 will work fine with version 6.0.14 of Tomcat.

hibernate 4.1.7 should work fine. Yes you can use an XML configuration rather than annotations, I've used both in Spring an Tomcat an it works fine.

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.

spring 3 framework compatible with apache tomcat 6 yes.

best version of hibernate 4, the latest and greatest.

Is it fine to use configuration xml file yes

(tomcat is not a full blown application server btw, that would be jboss glassfish et al)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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