You are correct that for various reasons, many developers are fixated on Tomcat and Jetty. However, I do believe that if there are embeddable Java EE alternatives, such as Embedded JBoss AS, then the grip on servlet containers will loosen.<br>
<br>What these developers want is to be able to deploy their app over top of Maven (or whatever build tool offers this feature). They like the automatic download of the server and the &quot;in place&quot; style deployment. I&#39;m sure there are some other features I&#39;m overlooking, but in the end, it comes down to zero configuration and overall simplicity. Having to boot up and application server as a service is just not as appealing. But that isn&#39;t out of the reach of Java EE.<br>
<br>-Dan<br><br><div class="gmail_quote">On Mon, Nov 23, 2009 at 12:34 PM, Gavin King <span dir="ltr">&lt;<a href="mailto:gavin.king@gmail.com">gavin.king@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;">
Yes, I understand the need for XA enlistment, but JBoss Transactions<br>
is already able to do that, right? What I&#39;m saying is that you would<br>
use the TransactionalDriver together with a pool. Or does<br>
TransactionalDriver already do pooling?<br>
<br>
Yes, I understand that this is primitive compared to JCA. But we&#39;re<br>
dealing with the users who claim  they don&#39;t want or need an<br>
application server. They, for their own, mostly incomprehensible,<br>
reasons, *want* to use Tomcat or Jetty or something without a JCA<br>
layer, together with one of the very inferior pooling solutions that<br>
are available in that environment. And they&#39;ve been told for years by<br>
the Spring crowd that it&#39;s a good idea and that they should keep doing<br>
it.<br>
<br>
Now, you and I both know this to be a total load of bunk, but we have<br>
tried to argue with these people and it is futile. They read it in<br>
books, so it must be true. We all know that a couple of years of<br>
exposure to Spring turns good developers into drooling, brain-damaged<br>
automatons who believe anything you tell them as long as you wave<br>
around enough underspecified jargon like &quot;lightweight&quot; and remind them<br>
how much EJB sucked 5 years ago.<br>
<br>
Now, if you know of a good, reasonably easy to use standalone JCA<br>
layer, I&#39;m all ears, but AFAIK, there&#39;s nothing really available in<br>
this space.<br>
<div><div></div><div class="h5"><br>
On Mon, Nov 23, 2009 at 12:19 PM, Jonathan Halliday<br>
&lt;<a href="mailto:jonathan.halliday@redhat.com">jonathan.halliday@redhat.com</a>&gt; wrote:<br>
&gt;<br>
&gt; None of the pools is XA aware - they will pool standard connections, but not<br>
&gt; XA ones that need XAResource enlistment to the JTA tx. The<br>
&gt; TransactionalDriver in JBossTS will do that, but it&#39;s pretty primitive<br>
&gt; compared to a real JCA.<br>
&gt;<br>
&gt; Jonathan.<br>
&gt;<br>
&gt; On 11/23/2009 05:16 PM, Gavin King wrote:<br>
&gt;&gt;<br>
&gt;&gt; Ah. Standalone JCA is a problem. But do we really need JCA, or can we<br>
&gt;&gt; just let Hibernate use one of the standalone connection pools that it<br>
&gt;&gt; ships with?<br>
&gt;&gt;<br>
&gt;&gt; On Mon, Nov 23, 2009 at 7:13 AM, Pete Muir&lt;<a href="mailto:pmuir@redhat.com">pmuir@redhat.com</a>&gt;  wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I chatted to Jonathan about this, he tells me the binary for JBossTS JTA<br>
&gt;&gt;&gt; is under 1MB with no external dependencies other than the JTA API (but we<br>
&gt;&gt;&gt; would probably need standalone JCA too).<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On 18 Nov 2009, at 23:10, Gavin King wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I think we should try and follow the Java EE models as closely as<br>
&gt;&gt;&gt;&gt; possible for this stuff. We should simply try and make the Java EE<br>
&gt;&gt;&gt;&gt; code work outside EE 6.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; e.g.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; (1) use a resource declaration with @PersistenceContext(unitName=....)<br>
&gt;&gt;&gt;&gt; to define a managed persistence context<br>
&gt;&gt;&gt;&gt; (2) use JBoss Transactions to manage transactions in a servlet engine<br>
&gt;&gt;&gt;&gt; - so instead of having a special tx manager for JDBC, it is just JTA<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Or is the 10meg download for JBoss Transactions just no good?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; --<br>
&gt;&gt;&gt;&gt; Gavin King<br>
&gt;&gt;&gt;&gt; <a href="mailto:gavin.king@gmail.com">gavin.king@gmail.com</a><br>
&gt;&gt;&gt;&gt; <a href="http://in.relation.to/Bloggers/Gavin" target="_blank">http://in.relation.to/Bloggers/Gavin</a><br>
&gt;&gt;&gt;&gt; <a href="http://hibernate.org" target="_blank">http://hibernate.org</a><br>
&gt;&gt;&gt;&gt; <a href="http://seamframework.org" target="_blank">http://seamframework.org</a><br>
&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt; weld-dev mailing list<br>
&gt;&gt;&gt;&gt; <a href="mailto:weld-dev@lists.jboss.org">weld-dev@lists.jboss.org</a><br>
&gt;&gt;&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/weld-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/weld-dev</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; ------------------------------------------------------------<br>
&gt; Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street,<br>
&gt; Windsor, Berkshire, SI4 1TE, United Kingdom.<br>
&gt; Registered in UK and Wales under Company Registration No. 3798903<br>
&gt;  Directors: Michael Cunningham (USA), Charlie Peters (USA), Matt Parsons<br>
&gt; (USA) and Brendan Lane (Ireland)<br>
&gt;<br>
<br>
<br>
<br>
</div></div>--<br>
<div><div></div><div class="h5">Gavin King<br>
<a href="mailto:gavin.king@gmail.com">gavin.king@gmail.com</a><br>
<a href="http://in.relation.to/Bloggers/Gavin" target="_blank">http://in.relation.to/Bloggers/Gavin</a><br>
<a href="http://hibernate.org" target="_blank">http://hibernate.org</a><br>
<a href="http://seamframework.org" target="_blank">http://seamframework.org</a><br>
<br>
_______________________________________________<br>
weld-dev mailing list<br>
<a href="mailto:weld-dev@lists.jboss.org">weld-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/weld-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/weld-dev</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>