combining vaadin with jpa eclipselink
===

I have developed a form using vaadin. Now when user clicks on submit button the record should be saved in the database. The database operation has to be done using JPA Eclipselink. I have created The Bean class(with fields consisting of getters and setters). How should i combine JPA with vaadin.