1 Reply Latest reply on Mar 30, 2003 6:53 PM by Adrian Brock

    Transaction and jsp

    Erik Turesson Novice

      Hello!

      I am using Jboss 3.06.
      I have a number of stateless session beans accessing a number of CMP 2.0 entitybeans. Both the session and entitybeans has the transaction attribute set to Required.

      I am accessing the session beans from jsp pages.
      My question is when is the transaction created?
      Is there one transaction for each jsp page or one for each call to a session bean method?

      If I want to calls to session bean methods to be in the same transaction, do I then have to use the UserTransaction class or not?

      /Erik