[JBoss-user] [EJB 3.0] - Re: Injecting EntityManager with an interceptor

2006-07-07 Thread sbalmos
Yet again answering myself... See http://www.jboss.com/index.html?module=bbop=viewtopicp=3953596 But seriously, like the original poster in that thread, why must I create a separate remote endpoint interface for the interceptor to be called? It shouldn't be necessary. --Scott View the

[JBoss-user] [EJB 3.0] - Re: Injecting EntityManager with an interceptor

2006-07-07 Thread fguerzoni
Are you sure you are interested in having the EntityManager created the first time the factory (singleton) is created? And then using that EM instance? I don't think EM is thread safe. I had the same decision to take some time ago, and I preferred to pass EM as parameter to DAO class when