jax rs - EJB-like transactions in JAX-RS -


i'm adding restful api existing application (jboss 4, ejb 2, adding resteasy). application has session beans container-managed transactions. start with, i'm calling remote interfaces on enterprise beans. ejb usage being phased out, new functionality added without writing new methods on beans.

does jax-rs or jboss 4 offer transaction support on resource methods? or have write own transaction code in each of resource methods?

jax-rs has preprocessinterceptors , postprocessinterceptors, not appear have interceptor wraps invocation.

why don't use session beans jax-rs service? having container managed transactions works java ee.

for example see:


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -