users@jersey.java.net

Re: [Jersey] Where to put app-managed JPA code when using JAX-RS

From: Tatu Saloranta <tsaloranta_at_gmail.com>
Date: Sun, 8 Mar 2009 19:11:38 -0700

On Sun, Mar 8, 2009 at 4:43 PM, Jaka Jančar <jaka_at_kubje.org> wrote:
...
> P.S: Why is com.sun.jersey.spi.container.servlet.ServletContainer called a
> server *container*, when in fact it is a servlet? (server containers are
> Jetty, Tomcat, etc.) Or am I missing something here?

Not that I know this for a fact, but my guess would be it's since it
is a servlet that acts as the container.
So better name might be "ApplicationContainerServlet" or such.
And yes, it is unfortunate name given that "servlet container" has
well-established meaning within this domain.

-+ Tatu +-