users@javaee-spec.java.net

[javaee-spec users] Re: [jsr342-experts] Re: _at_Transactional feedback

From: Jason Porter <lightguard.jp_at_gmail.com>
Date: Wed, 2 May 2012 12:06:46 -0600

Maybe some day I'll get the email lists figured out. See my comment below.

On Wed, May 2, 2012 at 12:05 PM, Jason Porter <lightguard.jp_at_gmail.com>wrote:

> While we're at it, if we're going to bundle a JTA implementation with the
> servlet bundle for weld or owb, we should include the context.xml or jetty
> file (forgot the name) so that the TransactionManager is properly setup.
> I've gone rounds with people on getting it setup in tomcat.
>
> On Tue, May 1, 2012 at 3:20 PM, Pete Muir <pmuir_at_bleepbleep.org.uk> wrote:
>
>> 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
>> >>
>> >
>>
>
>
>
> --
> Jason Porter
> http://lightguard-jp.blogspot.com
> http://twitter.com/lightguardjp
>
> Software Engineer
> Open Source Advocate
> Author of Seam Catch - Next Generation Java Exception Handling
>
> PGP key id: 926CCFF5
> PGP key available at: keyserver.net, pgp.mit.edu
>



-- 
Jason Porter
http://lightguard-jp.blogspot.com
http://twitter.com/lightguardjp
Software Engineer
Open Source Advocate
Author of Seam Catch - Next Generation Java Exception Handling
PGP key id: 926CCFF5
PGP key available at: keyserver.net, pgp.mit.edu