Dear XDoclet users,
According to XDoclet documentation, the @ejb.transaction tag only
works with Entity and Session beans (seen in
http://xdoclet.sourceforge.net/xdoclet/tags/ejb-tags.html). And it
doesn't work with Message-driven beans (tested with XDoclet 1.2.3).
According to EJB 2.1 spec, "For a message-driven bean's message
listener interface, only the Required and NotSupported transaction
attributes may be used.". Which means to me that MDB supports
transaction attributes.
Did I miss something? Or is there way to generate the
<container-transaction>
<method>
<ejb-name>MessageDriven</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>NotSupported</trans-attribute>
</container-transaction>
bloc in the ejb-jar.xml for my MDB.
Thanks for your help,
Gérald
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
xdoclet-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user