Hi. I have a problem using a web app in JSF 2.0, JPA 2.0 and Spring IoC 3.1. I searched here on a blog and references, but could not clear enough answers.

My problem is in the management of the EntityManager by Spring, and the lifecycle of MBeans View Scope: Spring closes the EntityManager problem occurring Lazy and closing session.

Question: How do the lifecycle of the EntityManager injected by Spring to keep in View Scope of the JSF? There settings "out of the box" using JSF + Spring?

Note 1: there is no possibility to use the JavaEE CDI at this time.
Note 2: We know that for the Spring IoC there is no JSF View Scope. So, here we use this approach: http://comdynamics.net/blog/109/spri...f2-view-scope/. This is working correctly.
Note 3: Sorry for my English....