users@jersey.java.net

[Jersey] Re: Servlets 3.0?

From: Moises Lejter <moilejter_at_gmail.com>
Date: Thu, 20 Nov 2014 11:15:51 -0600

Hi!

I just created a project using that archetype, too. I think all you need
to do is remove web.xml from your project, and you would be all set...
 (All the async stuff could be configured via annotations on things, which
you would need to do anyway...).

If you mean modify the archetype so that using your updated archetype
doesnt' result in this web.xml file - that is more complicated :-) (meaning
I've never written an archetype myself - but I would imagine just removing
the XML element that defines the web.xml file would do it...).

Moises


On Thu, Nov 20, 2014 at 7:35 AM, Simon Roberts <
simon_at_dancingcloudphotography.com> wrote:

> Hi I started using the maven archetype here:
> https://jersey.java.net/documentation/latest/getting-started.html#new-webapp
> to build Jersey projects, which I deploy on Tomcat 8, but I notice that
> this creates things that deploy as a 2.5 container. Unfortunately, I'm not
> very comfortable with maven, and it's not at all clear to me how I alter
> this to configure the Servlets 3.0 container (I want to get the async
> support to work). Can anyone help, please?
>
> Cheers,
> Simon
>
>