0 Replies Latest reply on Mar 13, 2002 10:58 AM by Faisal Usman

    Transaction Descriptors in the ejb-jar.xml

    Faisal Usman Newbie

      I looked in all the documentation including the JBoss Administration and Development but could not find any information on rules for the Transaction Descriptors in the ejb-jar.xml.

      My questions pertain to how they are evaluated.

      1) What is the default for <trans-attribute> if none are specified in the ejb-jar.xml

      2) What is the order of evaluation ie if I have something like:

      <container-transaction>

      <ejb-name>ASessionBean</ejb-name>
      <method-name>*</method-name>

      <trans-attribute>NotSupported</trans-attribute>
      </container-transaction>

      <container-transaction>

      <ejb-name>ASessionBean</ejb-name>
      <method-name>setX</method-name>

      <trans-attribute>Requires</trans-attribute>
      </container-transaction>

      Does this evaluate to all methods of ASessionBean have trans-attribute NotSupported except for
      method setX which has Requires ?


      Thanks,
      Faisal