Hi,

Has anyone specified container transactions bean methods selectively?

If I would like to specify only the updateABC() method of the bean to
'Require' transaction, what should I specify in "<method-name>"? Is it
simply the method name?
(I don't want all (*) methods of the bean to 'Require' transaction.)

   <assembly-descriptor>
      <container-transaction>
         <method>
            <ejb-name>ABCSession</ejb-name>
            <method-intf>Remote</method-intf>
            <method-name>*</method-name>
         </method>
         <trans-attribute>Required</trans-attribute>
      </container-transaction>
   </assembly-descriptor>

(Using WebLogic 5.1)

Thanks,
Harish.

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to