Is JAX-RS built on top of Servlet API? How? : <p>I've been reading that the JAX-RS is built on top of servlets. Is this literally true, or it just mean that it is a higher level component? If it is, how does that work? Does JAX-RS create a servlet which parses the request and manually initializes <code>@Path</code> annotated classes and passes the modified parameters to them? The JSR does not seem to specify this, and none of the books that mention it go into any details.</p>

<p>note: I don't have trouble deploying JAX or servlets, I am just curious about the details, as it would provide a better understanding of how the web container works.</p>
