Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
database access with Vaadin
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 documentation 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.
Thanks a lot for the help..i'll give it a swing and see how it goes..you have been very helpful :)
Mostafa Hany El Sayed: Thanks a lot for the help..i'll give it a swing and see how it goes..you have been very helpful :)
At the risk of doing your work for you, I may have done your work for you: http://vaadin.com/forum/-/message_boards/message/125455 (the complete working application is along with the blog). :O
However, Kim's Vaadin Application Foundation looks very impressive so I don't want to steer you away from that.