Hello:
I have a stateful bean which has an EntityManager "injected" into it thusly:
@PersistenceContext(name="myDataSource")
EntityManager em;
My question is this: when my bean is passivated, what happens to its EntityManager?
Do I need to do a JNDI lookup or something on PreActivate? Seems like this should be pretty common, but I have not found anything on it, which makes me think I'm nuts somehow!