I noticed this hiding when trying to use Seam Persistence with AS7, it of course fails because it can not find the TransactionManager in JNDI, having the resource available somewhere that&#39;s easily accessible needs to be done for the reason(s) Ales mentioned and for Seam as well.<br>

<br><div class="gmail_quote">On Fri, Apr 29, 2011 at 15:26, Ales Justin <span dir="ltr">&lt;<a href="mailto:ales.justin@gmail.com">ales.justin@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

IMO TransactionServices should also expose TransactionManager.<br>
<br>
Since with AS7, which hides TM from JNDI, one cannot easily register XAResources:<br>
<br>
Transaction<br>
   public boolean enlistResource(XAResource xaRes) throws RollbackException, IllegalStateException, SystemException<br>
<br>
or suspending/resuming current Tx.<br>
Specially XAResources handling is a must to be able to enlist if you&#39;re doing some non-trivial tx-based work.<br>
<br>
This way the integration layer would make sure the TM is exposed as a CDI service.<br>
<br>
Wdyt?<br>
<br>
-Ales<br>
<br>
<br>
<br>
_______________________________________________<br>
weld-dev mailing list<br>
<a href="mailto:weld-dev@lists.jboss.org">weld-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/weld-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/weld-dev</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Jason Porter<br><a href="http://lightguard-jp.blogspot.com" target="_blank">http://lightguard-jp.blogspot.com</a><br><a href="http://twitter.com/lightguardjp" target="_blank">http://twitter.com/lightguardjp</a><br>

<br>Software Engineer<br>Open Source Advocate<br>Author of Seam Catch - Next Generation Java Exception Handling<br><br>PGP key id: 926CCFF5<br>PGP key available at: <a href="http://keyserver.net" target="_blank">keyserver.net</a>, <a href="http://pgp.mit.edu" target="_blank">pgp.mit.edu</a><br>