I want to select the lastest frameworks to integrate spring, struts and hibernate, but seems that there are so many versions out there, and their api are different too, so I was confused that how can I select the right version to integrate them ? And What’s the differences between them ?
For example, can I have the following integration:
Spring Framework 3.0
Struts 2.0
Hibernate 3.2
As I am new to these frameworks, please point me the right direction, and let me know how can I select the right version to work on?
Thanks in advance !
If you’re possibly using a build system like Maven2, it can resolve all the dependencies for you. If you don’t you can look for maven config files and just copy the version numbers from there. Also all the specific versions can be downloaded manually from one of the maven repositories online.
Maven configuration files are typically named
pom.xmland contain among other things all the dependencies for a project. Many people publish their pom files online to help out others, however it’s not difficult to really write one yourself.For example here you have an example configuration. It’s probably little dated, but for just playing with the framework it should do:
http://www.mkyong.com/struts2/struts-2-spring-hibernate-integration-example/