3 Replies Latest reply on Feb 5, 2008 1:35 PM by Sebastien Degardin

    Transaction demarcation (SeamPhaseListener)

    Sebastien Degardin Newbie

      Hi there,

      I'm trying to provide full conversational support for a GWT application.

      It works fine, I only have a question related to trnasaction demarcation.

      We do have some kind of a JSF LifeCycle for Request processing.

      I do the same as in JSF, I commit or rollback the transaction after invoking the application then re start another one for building the response.

      If I don't restart a new transaction, lazy loading still works .(It goes to the database).
      So, is there a reason to restart a transaction after the invoka application phase ?

      Config is : Seam managed Persistence Context and seam managed transaction.