Hi, I have an abstract class that all my SLSBeans inherit from.
This class has some common methods that I want to define different transaction
scope for them. à This class will
have the generate=”false” for the @ejb.bean The problem is that the ejb-jar.xml
<container-transaction> tag is using the name of that class instead of
using the name of the real bean Ex.: Note: TransferObjectManager is my abstract class – it does
not correspond to a deployable bean. The method “create” is not overriding on
descendants – all the implementation is on TransferObjectManager. The ejbdoclet task does generate one of the following tags
for each descendant, but with the TransferObjectManager <ejb-name>
instead of the right ejb-name. <container-transaction > <method > <ejb-name>TransferObjectManager</ejb-name> <method-intf>Remote</method-intf> <method-name>create</method-name> </method>
<trans-attribute>Required</trans-attribute> </container-transaction> Any ideas? |