jsr340-experts@servlet-spec.java.net

[jsr340-experts] Re: Support of Interceptor in Servlet

From: Alex Rojkov <alex_at_caucho.com>
Date: Wed, 29 Feb 2012 09:00:51 -0800

>> The platform spec is planning on introducing transactional interceptors
>> which would
>> enable container managed transactions for containers that supported it.
>> As pointed out
>> by Linda in the mail that Shing Wai has a pointer to in the original
>> email. It would be a
>> way to unify the container managed transaction feature across the
>> platform and I
>> think it is a useful feature to have in the web container.
>
> Hum, yes, I get that the two uses for all this syntaxic sugar is some TX
> and some log. So log is useless because it doesn't have access to the
> HTTP information, and


> I don't see what the benefit of marking a servlet
> transactional either since it is not supposed to be a business
> component.

Strongly agree with this reasoning.

Alex

>
> --
> Remy Maucherat <rmaucher_at_redhat.com>
> Red Hat Inc
>
>
>