EntityManager « Servlet « JSF Q&A





1. Java Servlet Filters and scope of other Objects and Entity Manager    stackoverflow.com

I am new to JSF, Filters and JPA, and am using NetBeans and Glassfish. I have a JSF form which submits and in turn accesses an Object's Method which calls a Facade ...

2. Filter do not initialize EntityManager    stackoverflow.com

I trying to use the Open Session in View pattern, but everytime I try to catch the EntityManager in my ManagedBean the entityManager come NULL here is how I'm doing:

package filters;

// ...