Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

vaadin spring hibernate

Wassel Ben Salem
10 years ago Feb 12, 2013 4:26pm
Nathan Westlake
10 years ago Feb 14, 2013 12:32am

I have an application currently working with those three technologies. I'm using Vaadin 7, Spring 3.1, and Hibernate 4.1.

I'm using Spring's Java configuration, JPA 2.0 annotations to interface with Hibernate, and the SpringVaadin Integration add-on.

https://vaadin.com/directory#addon/springvaadinintegration

Try downloading the "Sample Project" that you find in that link.

As for hooking up Spring with Hibernate, this springsource tutorial is very useful:

http://blog.springsource.org/2012/04/06/migrating-to-spring-3-1-and-hibernate-4-1/

You should definitely download their sample project. Integrating those two sample projects together should help you get where you need to be.

If you have any questions, or want to see my pom file, spring java config files, or web.xml, I could maybe set up a sample project on github.

--Nathan

Last updated on Feb, 14th 2013
vijay anand
9 years ago Jun 26, 2013 7:35am
Patrick Hynes
8 years ago Apr 30, 2014 8:55am