Hi *
EntityListeners should be integrated with CDI / EJB 3.2. It means: Java EE 7 DI should work in EntityListener classes. An EntityListener could be annotated with @Singleton / @Stateless / @RequestScoped etc. (everything what is stateless)
We should extend the sentence: "Entity listeners are stateless. The lifecycle of an entity listener is unspecified" at the page 95 of the Expert Group Draft 2. to "The lifecycle of an entity listener is unspecified in unmanaged environments. An EJB 3.2 @Stateless, @Singleton or CDI managed bean can also receive callback events",
What do you think?
adam