jsr342-experts@javaee-spec.java.net

[jsr342-experts] Re: _at_Transactional feedback

From: Pete Muir <pmuir_at_bleepbleep.org.uk>
Date: Tue, 1 May 2012 22:20:52 +0100

Some transaction managers are capable of running in Tomcat or Jetty.
For example JBoss Transactions can be configured to do this. I would
imagine Deltaspike would offer the CDI implementation of the
interceptor that can work with a JTA TM that can be provided in some
way. A user could then combine this with a transaction manager such as
JBoss Transactions and Tomcat.

I wouldn't advise it, but...

On 1 May 2012 21:41, David Blevins <david.blevins_at_gmail.com> wrote:
>
> On May 1, 2012, at 5:57 AM, Pete Muir wrote:
>
>> A Servlet *only* environment, such as Tomcat or Jetty.
>
> How is that even possible when Tomcat doesn't have a transaction manager?
>
>
> -David
>
>
>> On 1 May 2012, at 13:12, Werner Keil wrote:
>>
>>> Pete/all,
>>>
>>> Can you explain more what this means:
>>>> However, to bridge the divide, Deltaspike will likely offer support for @Transactional in a Servlet environment
>>>
>>> Does that mean, @Transactional as proposed is not going to work in a Servlet environment??
>>>
>>> Since Servlets are a core part of Java EE, while they may not be used as heavily (directly) these days, I would find it strange. Or is it just up to the implementation.
>>> Nevertheless, why should the Java EE 7 RI (Glassfish) not do that by itself?
>>>
>>> Thanks,
>>> Werner
>>
>