Skip to main content

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

  • From: Marek Potociar <marek.potociar@...>
  • To: jsr339-experts@...
  • Cc: Bill Burke <bburke@...>
  • Subject: [jsr339-experts] Re: [jax-rs-spec users] Re: Default Servlet Mapping?
  • Date: Thu, 15 Mar 2012 21:17:40 +0100

On 03/15/2012 09:00 PM, Bill Burke wrote:
> 
> 
> On 3/15/12 3:54 PM, Santiago Pericas-Geertsen wrote:
>>
>> 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?
>>
> We assumed everything could be scanned, you could have an empty web.xml 
> file, and no Application class.  This was an
> incorrect assumption?  I know a lot of people use us in this manner.  Maybe 
> I just interpreted the 1.1 spec wrong?

IIUC, such behavior goes beyond the spec. But I still fail to understand how 
the scanning relates to the default
mapping. Reading JAX-RS 1.1 it seems that a user has to provide an explicit 
mapping, otherwise the app would fail to deploy.

Now the proposal is to create a default value for this explicit mapping that 
had to exist in every JAX-RS 1.x application.

Marek

> 
> Bill
> 


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

(continued)

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

Marek Potociar 03/21/2012

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

Bill Burke 03/21/2012

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

Marek Potociar 03/21/2012

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

Bill Burke 03/21/2012

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

Santiago Pericas-Geertsen 03/22/2012

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

Sergey Beryozkin 03/21/2012

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

Bill Burke 03/22/2012

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

Sergey Beryozkin 03/22/2012

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

Santiago Pericas-Geertsen 03/23/2012

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

Sergey Beryozkin 03/23/2012

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

Marek Potociar 03/15/2012

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

Bill Burke 03/19/2012
 
 
Close
loading
Please Confirm
Close