geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <da...@coredevelopers.net>
Subject Is ejb spec ambiguous about transaction attributes?
Date Fri, 26 Dec 2003 19:01:01 GMT
I don't see anything in the ejb 2.1 spec that indicates how to 
interpret transaction attributes such as these:

<container-transaction>
   <method>
     <ejb-name>MyEJB</ejb-name>
     <method-intf>Local<method-intf>
     <method-name>*</method-name>
   </method>
   <trans-attribute>Required</trans-attribute>
</container-transaction>

<container-transaction>
   <method>
     <ejb-name>MyEJB</ejb-name>
     <method-intf>Remote<method-intf>
     <method-name>*</method-name>
   </method>
   <trans-attribute>Supported</trans-attribute>
</container-transaction>

<container-transaction>
   <method>
     <ejb-name>MyEJB</ejb-name>
    <!-- doSomething is in both local and remote interfaces -->
     <method-name>doSomething</method-name>
   </method>
   <trans-attribute>RequiresNew</trans-attribute>
</container-transaction>

I assume that the third overrides the other two, but I don't see that 
specified anywhere.  Any help?

thanks
david jencks


Mime
View raw message