Can an EntityListener implementation be a Session bean? I'd like to use the EntityListener to perform auditing, but I need use of the SessionContext and a EntityManager. Since you cannot inject resources on non-Session beans, I was considering using a Stateless Session bean as the listener.
Use of EntityManager in an EntityListener is ont allowed