jsr339-experts@jax-rs-spec.java.net

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

From: Marek Potociar <marek.potociar_at_oracle.com>
Date: Mon, 22 Oct 2012 11:46:12 +0200

Isn't that something that should perhaps make more sense in the @Asynchronous annotation javadoc? Do you want me to forward your feedback to EJB spec lead?

Marek

On Oct 20, 2012, at 6:10 PM, Jan Algermissen <jan.algermissen_at_nordsc.com> 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.
>
> Might spare some folks some extra debugging work :-)
>
> Jan