title: Does Apache Tomcat 6 support JTA?
body: <p>I have some confusion on using JTA within the Spring Framework on Apache Tomcat and i hope someone will clarify as after many research i can't seem to find the correct answer as of yet.</p>
  
  <p>I am developing a web application using Spring Framework to be running on Apache Tomcat 6. </p>
  
  <p>I read somewhere that Spring's does support for JTA but it delegates to the underlying JavaEE application server. Now this is where i am confused because i Tomcat is not a full JavaEE application server - it is merely a servlet container and as i believe it doesn't provide JTA implementation like the full JavaEE application server (Glassfish/Wildfly etc...) does.</p>
  
  <p>But when i do something like the following the transaction aspect of it works:</p>
  
  <pre><code>@Transactional
  public class ServiceClassImpl implements ServiceInterface {
  // code here that involves transactions e.g. calling DAO code
  ...
  }
  </code></pre>
  
  <p>So, i'm confused. I hope someone will enlighten me.</p>