What is the default transaction attribute in CMT ??

Discussions

EJB design: What is the default transaction attribute in CMT ??

  1. DTD for ejb-jar.xml (http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd) says that the container-transaction element in the assembly-descriptor element is optional.

    What happens when I use CMT and I don't set the transaction attributes for the methods of my bean? Which transaction attribute will be used?

    EJB specification says nothing about this.
  2. I believe it's Required
  3. The default transacation attribute is "Supports"