I was thinking in using the following approach:
1) When the user makes the login I create its correct EntityManager and store it in Seam context.
2) In other parts of my application that require an entityManager I would retrieve it using @In (I'm really newbie to Seam, if I'm saying something incorrect, please point it).
But I have a doubt with this approach:
Using a entityManager that I created, will I still have the container management of this entityManager ? Will I have problems with transactions using this solution ?