title: Servlet 3.0 and JAX-RS
body: <p>I've found conflicting answers to this question and I've failed to successfully run an example.  </p>
  
  <p><strong>Can JAX-RS be implemented using Servlet 3.0 (in particular, Tomcat 7) with annotations, only, without having to implement another Servlet Container?</strong>  </p>
  
  <p>If no, please explain why the following quote from this book is either, incorrect or I'm interpreting it, wrong.</p>
  
  <blockquote>
    <p>Because this example deploys within a Java EE application server or
    standalone Servlet 3.x container, all we need is an empty web.xml
    file.  The server will detect that an Application class is within your
    WAR and automatically deploy it.  (RESTful Java with JAX-RS 2.0, Bill Burke)</p>
  </blockquote>
  
  <p>To clarify what I <strong>don't</strong> need help with... I've, successfully, implemented JAX-RS in Tomcat 7 with Jersey using a web.xml, so, I don't need any explanation of how to do so. Also, I'm fully aware that other Java EE/Servlet Containers  (TomEE, Glassfish, Jersey, Websphere, etc...) are all JAX-RS aware out of the box.  I just need to know if I'm chasing my tail trying to get Tomcat 7 (Servlet 3.0) to work with JAX-RS without adding a Servlet Container and without web.xml entries.  </p>