database access with Vaadin

Hello Everyone,

So I got this project coming up at my university, and we are supposed to build a Java web app…my framework of choice was Vaadin of course for its beauty and simplicity, but i was hoping if someone could help me make a decision if i should use Hibernate with Vaadin or JPA…which one is simpler to configure and use???..also if someone could point me to a tutorial on using either with vaadin, i would really appreciate that… thank you for your time…

To clarify a bit of the terminology: JPA is a specification, Hibernate is an implementation of that specification. JPA isn’t exactly meant for stateful applications like Vaadin, so getting everything to work properly can be a bit tricky. Don’t worry, I’ve got some good news for you: I’ve recently published a library called
Vaadin application foundation
and one of the modules provided by the library is JPA based persistence which takes care of some of these tricky parts.

Take a look at the persistence module’s
to get an idea how to set up and how to use the persistence module. You can also take a look at the
example application
to get some idea how to use the Vaadin AppFoundation library.

  • Kim

Thanks a lot for the help…i’ll give it a swing and see how it goes…you have been very helpful :slight_smile:

At the risk of doing your work for you, I may have done your work for you:
(the complete working application is along with the blog). :open_mouth:

However, Kim’s Vaadin Application Foundation looks very impressive so I don’t want to steer you away from that.


Hello Bobby,

i tried to visit your
is it still available?