[weld-dev] tx services

Jason Porter lightguard.jp at gmail.com
Fri Apr 29 18:09:45 EDT 2011


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's easily accessible needs to be done
for the reason(s) Ales mentioned and for Seam as well.

On Fri, Apr 29, 2011 at 15:26, Ales Justin <ales.justin at gmail.com> wrote:

> IMO TransactionServices should also expose TransactionManager.
>
> Since with AS7, which hides TM from JNDI, one cannot easily register
> XAResources:
>
> Transaction
>   public boolean enlistResource(XAResource xaRes) throws RollbackException,
> IllegalStateException, SystemException
>
> or suspending/resuming current Tx.
> Specially XAResources handling is a must to be able to enlist if you're
> doing some non-trivial tx-based work.
>
> This way the integration layer would make sure the TM is exposed as a CDI
> service.
>
> Wdyt?
>
> -Ales
>
>
>
> _______________________________________________
> weld-dev mailing list
> weld-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/weld-dev
>



-- 
Jason Porter
http://lightguard-jp.blogspot.com
http://twitter.com/lightguardjp

Software Engineer
Open Source Advocate
Author of Seam Catch - Next Generation Java Exception Handling

PGP key id: 926CCFF5
PGP key available at: keyserver.net, pgp.mit.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/weld-dev/attachments/20110429/ebfce894/attachment.html 


More information about the weld-dev mailing list