users@jersey.java.net

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

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Mon, 09 Mar 2009 17:59:51 +0100

On Mar 9, 2009, at 3:11 AM, Tatu Saloranta wrote:

> 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.

Yes, container in the sense of a Jersey container, which has plugable
support for HTTP containers, be they servlet-based, or say Grizzly-
based. Overloaded terms :-)

Paul.

>
> 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 +-
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>