users@jersey.java.net

[Jersey] Re: Why isn't JerseyServletModule an abstract class?

From: Jakub Podlesak <jakub.podlesak_at_oracle.com>
Date: Mon, 17 Oct 2011 10:08:22 +0200

Hi Dough,

com.sun.jersey.spi.container.servlet.ServletContainer could be used
directly to serve
JAX-RS resources. See [1], examples 2.12, 2.13 for details.

The ServletContainer class could also be extended to provide additional
functionality,
like Spring/Guice integration.

~Jakub

[1]http://jersey.java.net/nonav/documentation/latest/jax-rs.html#d4e196

On 17.10.2011 6:28, doug arro wrote:
> Hello Jersey Devs,
>
> Is there a reson for JerseyServletModule to be a concrete class instead of an abstract class? Isn't this class intended to be extended by others?
>
> Thanks,
> doug
>