There&#39;s also the issue of injecting an EntityManager (@PersistenceContext) in Tomcat/Jetty, which, to my knowledge, there is no solution (apart from EJB lite). Yes, the servlet containers are deficient, so what we are essentially doing is migrating users to the Web Profile from Tomcat/Jetty.<br>
<br>-Dan<br><br><div class="gmail_quote">On Sat, Nov 28, 2009 at 11:42 AM, Dan Allen <span dir="ltr">&lt;<a href="mailto:dan.j.allen@gmail.com">dan.j.allen@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
As to what Dan is referring to, it is likely JOTM:<br>
<a href="http://jotm.objectweb.org" target="_blank">http://jotm.objectweb.org</a>, which you won&#39;t have to deal with whether you<br>
are using an embedded EJB Lite container or a CDI specific transaction<br>
manager with JPA on Tomcat.<br></blockquote></div><div><br>Correct. I&#39;ve also tried Atomikos Essentials, which I actually did get to work, but should everyone have to fill out a form to use transactions? <a href="http://www.atomikos.com/Main/TransactionsEssentialsDownloadForm" target="_blank">http://www.atomikos.com/Main/TransactionsEssentialsDownloadForm</a> That strengthens Gavin&#39;s point about how screwed up this situation with transactions has become.<br>

<br>What we we need a simple, reliable, documented way for developers to educate Tomcat how to do transactions correctly. I&#39;m praying that EJB lite is that solution. I&#39;ve heard some promising statements and we want to confirm them through our archetypes. The whole idea of creating these archetypes, as Steven said, is to get the developer using CDI, JSF 2, JPA and JTA without even a moment of time wasted, with their choice of Tomcat, Jetty or a Java EE container. When we have that, we will have accomplished our first, and most critical, goal.<br>
<font color="#888888">
<br>-Dan<br></font></div></div><div><div></div><div class="h5"><br>-- <br>Dan Allen<br>Senior Software Engineer, Red Hat | Author of Seam in Action<br>Registered Linux User #231597<br><br><a href="http://mojavelinux.com" target="_blank">http://mojavelinux.com</a><br>
<a href="http://mojavelinux.com/seaminaction" target="_blank">http://mojavelinux.com/seaminaction</a><br>
<a href="http://www.google.com/profiles/dan.j.allen" target="_blank">http://www.google.com/profiles/dan.j.allen</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Dan Allen<br>Senior Software Engineer, Red Hat | Author of Seam in Action<br>Registered Linux User #231597<br><br><a href="http://mojavelinux.com">http://mojavelinux.com</a><br>
<a href="http://mojavelinux.com/seaminaction">http://mojavelinux.com/seaminaction</a><br><a href="http://www.google.com/profiles/dan.j.allen">http://www.google.com/profiles/dan.j.allen</a><br>