<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Good question. The easiest solution is probably to change one of the EJB dups that looks at annotations to also check for @Transactional and fail accordingly.</div><div><br>Sent from my iPhone</div><div><br>On Mar 28, 2015, at 11:56 AM, Eduardo Sant´Ana da Silva <<a href="mailto:eduardo.santanadasilva@gmail.com">eduardo.santanadasilva@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">
<p class="">I'm looking at this issue:<br><a href="https://issues.jboss.org/browse/WFLY-4169">https://issues.jboss.org/browse/WFLY-4169</a></p>
<p class="">In the ejb-3_2 specification :<br>It is illegal to associate JTA transactional interceptors (see [8]) with Enterprise JavaBeans. The EJB Container should fail deployment of such applications.[39]</p>
<p class="">@Transaction annotation was introduced in JTA 1.2, <br></p>
<p class="">As Narayana 5.0.0.M3 is now JTA 1.2 compliant, and it was introduced on Wildfly since version WildFly 8.0.0.Beta1, what should be done?<br></p>
<p class="">Because this restriction could be removed in the future versions:<br></p>
<p class="">[39] This restriction may be removed in a future release of this specification<br></p>
<p class="">If this is needed, how to proceed? Should be done on Weld subsystem, something similar with the annotations markers, just to log the problem or it will be more tricky, since the deployment should be rolled back (by the specification)?</p>-- <br><div class="gmail_signature"><div dir="ltr"><div><span style="font-family:Arial;font-size:small">________________</span><span style="font-family:Arial;font-size:small">__________</span><br></div><div><div align="left" style="font-family:Arial;font-size:small">Eduardo Sant'Ana da Silva</div><div style="font-family:Arial;font-size:small"><br></div></div></div></div>
</div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>wildfly-dev mailing list</span><br><span><a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a></span><br><span><a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a></span></div></blockquote></body></html>