I need a quick jump start for using Spring and Hibernate together and I was looking for some sample code to modify and extend. Bonus points for Struts2 and Spring Security integration.
The official docs is your best bet for both Spring and Hibernate. However, you can look into When Spring Meets Hibernate and Spring and Hibernate with MyEclipse tutorial to get you started.
Your best bet, if you are using Netbeans or have no problems in using that, just start a brand new application and follow the web application wizard and specify Spring and Hibernate as application framework, and ORM respectively. It will generate a complete skeleton for you to work on. You can even add Struts2 as web framework later, in project->properties->framework.
You might want to look into Struts2 Spring Plugin for the latter. Further, Spring Security Integration.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With