Trying JPAContainer with Hibernate 4

Hi guys…

I’m trying the JPAContainer with Hibernate 4.

At the “Book of Vaadin” the section
18.9.2 The EntityManager-per-request pattern
talks about override the Application methods,
onRequestStart
and
onRequestEnd
to call the EntityManagerPerRequestHelper methods (requestStart, requestEnd).


I need to worry about this pattern if am I using a persistence unit?