users@jax-rs-spec.java.net

[jax-rs-spec users] [jsr339-experts] Re: Re: Default Servlet Mapping?

From: Santiago Pericas-Geertsen <Santiago.PericasGeertsen_at_oracle.com>
Date: Thu, 15 Mar 2012 15:54:09 -0400

On Mar 15, 2012, at 3:31 PM, Bill Burke wrote:

> I would say do nothing because it would break existing 1.1 applications when deployed.

 How so? Before you had to always specify the mapping, and that will continue to take precedence. Can you elaborate?

-- Santiago

>
> On 3/14/12 11:37 AM, Santiago Pericas-Geertsen wrote:
>> Hello Experts,
>>
>> We've done some work in Section 2.3.2 to better explain the integration with the Servlet container and its pluggability framework. Unfortunately, there are still some cases --in the absence of @ApplicationPath-- in which a servlet mapping must be specified in a DD.
>>
>> Shall we define a default servlet mapping for JAX-RS 2.0? JSF uses "/faces/*", for example. How about "/webapi/*" for us?
>>
>> -- Santiago
>
> --
> Bill Burke
> JBoss, a division of Red Hat
> http://bill.burkecentral.com