posted 16 years ago
<ejb-jar>
<display-name>MyEJB</display-name>
<enterprise-beans>
<session>
<ejb-name>MyEJB</ejb-name>
<home>MyEJBHome</home>
<remote>MyEJBRemote</remote>
<ejb-class>MyEJBBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
</enterprise-beans>
<assembly-descriptor>
<container-transaction>
<method>
<ejb-name>MyEJB</ejb-name>
<method-name>Method1</method-name>
</method>
<trans-attribute>Mandatory</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>MassmodsDA</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Never</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>
Suppose this is my deployment descriptor.
What is transaction attribute associated to my method "Method1".
Is this "Mandatory" or "Never"? Does direct declaration of the method overwrites "*" declaration?
Please clarify.
Thanks.
[ April 15, 2008: Message edited by: nalini kumari ]