<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Very cool, all of this. I like it!<br></span></div><div><br></div><div>Thanks,</div><div>Luigi</div><div><br></div>  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Mark Struberg &lt;struberg@yahoo.de&gt;<br> <b><span style="font-weight: bold;">To:</span></b> Dan Allen &lt;dan.j.allen@gmail.com&gt; <br><b><span style="font-weight: bold;">Cc:</span></b> cdi-dev &lt;cdi-dev@lists.jboss.org&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Monday, April 30, 2012 8:59 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [cdi-dev] CDI have any plan to process
 Transaction?<br> </font> </div> <br>
Over in DeltaSpike we are currently discussing the jpa module. Plans are to implement it there as portable extension. I see no need why we need to duplicate the effort by implementing it in both Weld and OWB ;)<br><br>The big benefit of this approach is that this will also run on any CDI-1.0 container!<br><br><br>LieGrue,<br>strub<br><br>&gt;________________________________<br>&gt; From: Dan Allen &lt;<a ymailto="mailto:dan.j.allen@gmail.com" href="mailto:dan.j.allen@gmail.com">dan.j.allen@gmail.com</a>&gt;<br>&gt;To: Pete Muir &lt;<a ymailto="mailto:pmuir@redhat.com" href="mailto:pmuir@redhat.com">pmuir@redhat.com</a>&gt; <br>&gt;Cc: <a ymailto="mailto:cdi-dev@lists.jboss.org" href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a> <br>&gt;Sent: Monday, April 30, 2012 9:42 PM<br>&gt;Subject: Re: [cdi-dev] CDI have any plan to process Transaction?<br>&gt; <br>&gt;<br>&gt;I molded this into a mini blog. Pete, if you are interested, feel free to
 post this as it will likely solve a wider misunderstanding from going around:<br>&gt;<br>&gt;<br>&gt;"A standard, universal @Transactional annotation is coming in Java EE 7. However, there are some important things to keep in mind:<br>&gt;<br>&gt;<br>&gt;- @Transactional *is* being developed as a revision to the JTA spec (as an MR)<br>&gt;- @Transactional *is not* being developed by the CDI EG, nor will it be in the CDI spec<br>&gt;- Feedback on @Transactional should be sent to the Java EE platform EG *not* to the CDI EG. The platform EG is conducting the revision to the JTA spec.<br>&gt;<br>&gt;<br>&gt;Java EE does not recognize a Servlet container as a compliant environment and therefore this feature will not be available there by default (mainly due to the absence of JTA in this environemnt).<br>&gt;<br>&gt;<br>&gt;However, to bridge the divide, Weld and OpenWebBeans will both likely offer support for @Transactional in a Servlet environment since we
 acknowledge that it *is* important, and is an environment preferred by many developers (but we still strongly urge you to migrate to the web profile!!)."<br>&gt;<br>&gt;<br>&gt;-Dan<br>&gt;<br>&gt;On Mon, Apr 30, 2012 at 04:55, Pete Muir &lt;<a ymailto="mailto:pmuir@redhat.com" href="mailto:pmuir@redhat.com">pmuir@redhat.com</a>&gt; wrote:<br>&gt;<br>&gt;Just to be 100% clear, as there is a lot of confusion around this topic.<br>&gt;&gt;<br>&gt;&gt;* @Transactional *IS NOT* being developed by the CDI EG nor will it be in the CDI spec<br>&gt;&gt;* @Transactional *IS* being developed as a revision to the JTA spec (as a MR IIRC, but that was not my/our decision to make)<br>&gt;&gt;* Feedback on @Trasnactional should be sent to the Java EE platform EG NOT to the CDI EG. The platform EG is conducting the revision to the JTA spec.<br>&gt;&gt;<br>&gt;&gt;HTH!<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;On 30 Apr 2012, at 09:19, Pete Muir
 wrote:<br>&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; On 29 Apr 2012, at 23:12, Dan Allen wrote:<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; Am I correct in saying that the annotation will control JTA<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Yes, this will be an amendment to the JTA spec AIUI. So back where it belongs!<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; and work in either of the two profiles (web and full)?<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; We haven't discussed this, but I'm assuming both. I will raise this.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; Btw, Java EE does not recognize a Servlet container as a compliant environment and therefore this feature will not be available there (without special support for it).<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Correct. Main obstacle is actually a lack of JTA there, rather than the declarative control… But I think OWB and Weld will both offer something here as we all regard it as
 important!<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; I agree with this stance since the web profile should be recognized as the low end environment. Otherwise there is not enough core services to provide a dependable and portable programming model. If you (general audience) want to use a Servlet container, you aren't using Java EE and will have to supplement with addons like CDI extensions or Spring.<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; -Dan<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; --<br>&gt;&gt;&gt;&gt; Sent from my CyanogenMod-powered<br>&gt;&gt;&gt;&gt; Android device, an open platform for<br>&gt;&gt;&gt;&gt; carriers, developers and consumers.<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; On Apr 27, 2012 4:54 AM, "Pete Muir" &lt;<a ymailto="mailto:pmuir@redhat.com" href="mailto:pmuir@redhat.com">pmuir@redhat.com</a>&gt; wrote:<br>&gt;&gt;&gt;&gt; Java EE 7 will include @Transactional. This will be provided by the Java EE platform, rather
 than CDI specifically. It will be a CDI interceptor, and so enabled as other CDI interceptors are.<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; On 24 Apr 2012, at 09:10, Hantsy Bai wrote:<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; Hi,<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; I have read some content about the spec 1.1, but I want to know if there<br>&gt;&gt;&gt;&gt;&gt; is a plan to provide a new transaction annotation...for EBJ or none EJB<br>&gt;&gt;&gt;&gt;&gt; proramming.<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; For example, provide a @Transactional annotation like Seam2 or Spring<br>&gt;&gt;&gt;&gt;&gt; 3.1...and make it work in Servlet container(none JTA transation, jdbc<br>&gt;&gt;&gt;&gt;&gt; only) or full profile container such as JBoss, Glassfish(JTA transaction<br>&gt;&gt;&gt;&gt;&gt; by default) seamlessly.<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; Automatically detect the Transaction will be used, or configure
 in<br>&gt;&gt;&gt;&gt;&gt; beans.xml file.<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; Regards<br>&gt;&gt;&gt;&gt;&gt; Hantsy<br>&gt;&gt;&gt;&gt;&gt; _______________________________________________<br>&gt;&gt;&gt;&gt;&gt; cdi-dev mailing list<br>&gt;&gt;&gt;&gt;&gt; <a ymailto="mailto:cdi-dev@lists.jboss.org" href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a><br>&gt;&gt;&gt;&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; _______________________________________________<br>&gt;&gt;&gt;&gt; cdi-dev mailing list<br>&gt;&gt;&gt;&gt; <a ymailto="mailto:cdi-dev@lists.jboss.org" href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a><br>&gt;&gt;&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/cdi-dev"
 target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; _______________________________________________<br>&gt;&gt;&gt; cdi-dev mailing list<br>&gt;&gt;&gt; <a ymailto="mailto:cdi-dev@lists.jboss.org" href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a><br>&gt;&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br>&gt;&gt;<br>&gt;&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;-- <br>&gt;<br>&gt;Dan AllenPrincipal Software Engineer, Red Hat | Author of Seam in Action<br>&gt;Registered Linux User #231597<br>&gt;<br>&gt;<br>&gt;<a href="http://google.com/profiles/dan.j.allen" target="_blank">http://google.com/profiles/dan.j.allen</a><br>&gt;<a href="http://mojavelinux.com" target="_blank">http://mojavelinux.com</a><br>&gt;<a href="http://mojavelinux.com/seaminaction"
 target="_blank">http://mojavelinux.com/seaminaction</a><br>&gt;<br>&gt;<br>&gt;_______________________________________________<br>&gt;cdi-dev mailing list<br>&gt;<a ymailto="mailto:cdi-dev@lists.jboss.org" href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a><br>&gt;<a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br>&gt;<br>&gt;<br>&gt;<br><br>_______________________________________________<br>cdi-dev mailing list<br><a ymailto="mailto:cdi-dev@lists.jboss.org" href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br><br><br> </div> </div>  </div></body></html>