In most cases perhaps not.  But what about config required for JBoss and XA/2PC datasources?  Isn&#39;t that config manually required in foo-xa-ds.xml as well as configuring default tx isolation?<br><br><a href="http://www.jboss.org/community/wiki/ConfigDataSources">http://www.jboss.org/community/wiki/ConfigDataSources</a><br>
<p>&lt;transaction-isolation&gt; - the default transaction isolation of
the connection (unspecified means use the default provided by the
database):</p><ul><li type="ul"><p>TRANSACTION_READ_UNCOMMITTED</p></li><li type="ul"><p>TRANSACTION_READ_COMMITTED</p></li><li type="ul"><p>TRANSACTION_REPEATABLE_READ</p></li><li type="ul"><p>TRANSACTION_SERIALIZABLE</p>
</li><li type="ul"><p>TRANSACTION_NONE</p></li></ul><br><br><div class="gmail_quote">On Tue, Nov 24, 2009 at 3:53 PM, Reza Rahman <span dir="ltr">&lt;<a href="mailto:reza_rahman@lycos.com">reza_rahman@lycos.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;">Steven,<br>
<br>
The difference is that in a Java EE centric environment, there is *no<br>
configuration needed period*, inside or outside the WAR to get<br>
transactional functionality.<br>
<br>
Cheers,<br>
<font color="#888888">Reza<br>
</font><div><div></div><div class="h5"><br>
<br>
Boscarine, Steven wrote:<br>
&gt; How is the UserTransaction you&#39;re mentioning different than the one Spring provides?  <a href="http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/ch10.html" target="_blank">http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/ch10.html</a><br>

&gt;<br>
&gt; There&#39;s no configuration needed outside the war.<br>
&gt; ________________________________<br>
&gt; From: <a href="mailto:weld-dev-bounces@lists.jboss.org">weld-dev-bounces@lists.jboss.org</a> [<a href="mailto:weld-dev-bounces@lists.jboss.org">weld-dev-bounces@lists.jboss.org</a>] On Behalf Of Dan Allen [<a href="mailto:dan.j.allen@gmail.com">dan.j.allen@gmail.com</a>]<br>

&gt; Sent: Tuesday, November 24, 2009 3:22 PM<br>
&gt; To: Gurkan Erdogdu<br>
&gt; Cc: Weld-Dev<br>
&gt; Subject: Re: [weld-dev] persistence and transactions outside Java EE<br>
&gt;<br>
&gt; On Tue, Nov 24, 2009 at 3:17 PM, Gurkan Erdogdu &lt;<a href="mailto:gurkanerdogdu@yahoo.com">gurkanerdogdu@yahoo.com</a>&lt;mailto:<a href="mailto:gurkanerdogdu@yahoo.com">gurkanerdogdu@yahoo.com</a>&gt;&gt; wrote:<br>

&gt;<br>
&gt;&gt;&gt;&gt; the main concern is that JTA transactions simply aren&#39;t available in a servlet environment (without extra configuration).<br>
&gt;&gt;&gt;&gt;<br>
&gt; AFAIK, you can use UserTransaction object<br>
&gt;<br>
&gt; If I download Tomcat or Jetty right now (unless I didn&#39;t get the memo) I won&#39;t have a UserTransaction.<br>
&gt;<br>
&gt; Yes, if I spend half the day searching the web to find a tutorial that actually works, maybe I can &quot;upgrade&quot; these containers to support JTA, but that&#39;s a PITA.<br>
&gt;<br>
&gt; If you can tell me that placing a single JAR file in the container so that EJB lite works, then we have something.<br>
&gt;<br>
&gt; -Dan<br>
&gt;<br>
&gt; --<br>
&gt; Dan Allen<br>
&gt; Senior Software Engineer, Red Hat | Author of Seam in Action<br>
&gt; Registered Linux User #231597<br>
&gt;<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; <a href="http://www.google.com/profiles/dan.j.allen" target="_blank">http://www.google.com/profiles/dan.j.allen</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; weld-dev mailing list<br>
&gt; <a href="mailto:weld-dev@lists.jboss.org">weld-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/weld-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/weld-dev</a><br>
&gt;<br>
&gt;<br>
&gt;<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>