1 Reply Latest reply on Feb 14, 2007 9:17 PM by Gavin King

    Stateless DAOs and SMPC

    Fabricio Lemos Newbie

      I just implemented my first Seam conversation and now I want it to use a Seam-managed persistence context.

      I have SFSBs accessing SLSBs DAOs. Reading the posts I could see two ways of doing this:

      1. Implement my DAOs as Stateful Seam components.
      2. Declare the EM not only in DAOs, but also in the SFSBs.

      First question: are these ways correct?
      Second: These two ways seems to be a little strange solutions. Are there other ways?

      thanks in advance,
      Fabrício Lemos