jsr339-experts@jax-rs-spec.java.net

[jsr339-experts] Re: Configuration interface too complex

From: Marek Potociar <marek.potociar_at_oracle.com>
Date: Wed, 14 Dec 2011 19:21:33 +0100

On 12/14/2011 06:14 PM, Sergey Beryozkin wrote:
> On 14/12/11 17:02, Bill Burke wrote:
>> On 12/14/11 8:23 AM, Marek Potociar wrote:
>>> I'm sorry for putting you in a shock, but I still don't understand the
>>> issue. No one is forcing developers to create
>>> configuration instances by themselves. Can you provide a concrete
>>> example of the problem you see?
>>>
>>
>> Ok, you didn't intend for the interface to be implemented and used by
>> users. That helps a bit. My only remaining concern is that somebody will
>> try to use it as such.
>>
> All the interfaces in JAX-RS 1.1 can be either directly implemented or used to get something done by users; I'm worried
> about JAX-RS 2.0 getting a bunch of public interfaces in which can neither directly implemented or used by users

The idea is to forbid extensions in javadoc of most critical interfaces where we anticipate potential future updates.

Marek