Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Any Simple Example on Spring with Hibernate

 
Swaroop Reddy
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello ,
I am new to Spring with Hibernate web application.I just want a small example to create one webapplication using spring with hibernate
Thank you
 
Vijitha Kumara
Bartender
Posts: 3914
9
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Spring and Hibernate are for two different purposes where Spring, a web framework and Hibernate is a persistence technology. But yes you can use hibernate for object persistence/retreival with Spring. Both distributions contain very good documentation to start with.
 
Rahul Babbar
Ranch Hand
Posts: 210
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One of the examples can be found at

http://hibernar.org/articulos_en/spring_hibernate_example.php

It doesn't explain a great deal about both of them, but it is a decent small sample app using both Hibernate and Spring..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic