1 Reply Latest reply on Mar 19, 2009 5:30 PM by Olivier Thierry

    persistence:ejbTransaction mandatory for J5EE ?

    Guillaume Jeudy Master

      Hi,


      I'm using Seam 2.0.1.GA with JBoss 4.2.2. I'm moving from EAR to WAR deployment converting all EJBs to Seam POJOs. In the Seam reference documentation it is stated that I should use:

      transaction:ejb-transaction

      in components.xml if deploying to a J5EE server. It is not clear whether we are forced to do this. I only use 1 transactional resource (a single database) is there anything that could stop me from adopting
      transaction:entity-transaction

      for example ? I don't see a need for a JTA transaction if I only have 1 transactional resource.


      Can anyone clarify this?


      Thanks,
      -Guillaume