jsr342-experts@javaee-spec.java.net

[jsr342-experts] Re: _at_Transactional feedback

From: Werner Keil <werner.keil_at_gmail.com>
Date: Tue, 1 May 2012 23:30:24 +0200

Yes we also dealt with something similar in Bangalore. To allow faster
deployment on a local machine to either Tomcat or Jetty while using the JTA
features of the entire application.

It took quite some effort, understand, why Pete won't advise to use it. In
our case, having Spring use AspectJ to get the transactions working was
probably the harder part, but I don't want to fuel that "religious"
discussion here again too much[?]

Werner

On Tue, May 1, 2012 at 11: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
> >>
> >
>



-- 
 Werner Keil | JCP Executive Committee Member | Eclipse UOMo Lead
 Twitter @wernerkeil | #Java_Social | #EclipseUOMo | #OpenDDR
Skype werner.keil | Google+ gplus.to/wernerkeil
* TUGDK: Apr 26 2012, Copenhagen, Denmark. Werner Keil, JCP EC Member,
Java Social
Project Lead will talk about "Social Media Extensions for Typo3"
* JustJava: May 18 2012, Sao Paulo, Brazil. Werner Keil, JCP EC Member,
Java Social Project Lead will present "Java Social"
* Dutch Mobile Conference: June 8 2012, Amsterdam, Netherlands. Werner
Keil, JCP EC Member, OpenDDR Evangelist will present "OpenDDR"



329.gif
(image/gif attachment: 329.gif)