tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: Using Transaction support of TOMEE
Date Sun, 07 Oct 2012 08:07:01 GMT
Normally it is available for injection so simply inject it into your servlet
Le 7 oct. 2012 07:15, "debalguha" <debalguha@gmail.com> a écrit :

> Hi Romain,
>
> Did all that you have suggested. Now in my servlet, how do I get a handle
> to
> the UserTransaction object, I have not declared/bound that to JNDI. The
> link
> http://tomee.apache.org/containers-and-resources.html does not talk
> anything
> about declaring UserTransaction as a resource.
>
> Or do you rekon, I have to create it manually inside my servlet and enlist
> the resources and programatically begin/end/commit/rollback the
> transactions?
>
> Would be great if somebody shares a small demo web app along with config
> details.
>
> Thanks
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Using-Transaction-support-of-TOMEE-tp4657810p4657834.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message