Koen,
You also need to keep in mind that an injected entity manager is a container-specific proxy that verifies expected transaction association and persistence context propagation rules. By passing the proxy around, you can break those rules.
regards,
-marina
[Message sent by forum member 'mvatkina' (mvatkina)]
http://forums.java.net/jive/thread.jspa?messageID=210362