EntityManager shouldn't be passed around. It should be injected/looked up in each component separately. So if done correctly, EntityManager in a non-transactional component won't share its persistent context with the one used in a transactional context.
If your concern is diffrent, please explain in more details :).
thanks,
-marina
[Message sent by forum member 'mvatkina']
http://forums.java.net/jive/thread.jspa?messageID=474263