[jax-rs-spec users] [jsr339-experts] Re: Transactions, EJBs and AsyncResponse

From: Santiago Pericas-Geertsen <>
Date: Tue, 23 Oct 2012 10:28:35 -0400

On Oct 20, 2012, at 12:10 PM, Jan Algermissen wrote:

> In 7.3 the spec points out the use of @Asynchronous.
> I wonder whether it would ne nice to also point out that the default transaction type of @Asynchronous is to run the annotated method in the same transaction and that requiring a new transaction for the given scenarios is required to really detach the response creation.

 Interesting, I didn't think about that at all. Could you elaborate the problem that results from _not_ creating a new transaction in this case?


-- Santiago