dev@jsr311.java.net

Re: Welcome to JSR 311

From: Marc Hadley <Marc.Hadley_at_Sun.COM>
Date: Tue, 10 Apr 2007 13:34:48 -0400

On Apr 10, 2007, at 5:42 AM, Paul Sandoz wrote:
>
>> Just a couple of trivial qns:
>> The packages are under javax.ws <http://javax.ws> rather than
>> javax.jws--is this only because jsr311 is not a WSDL-style
>> webservice?
>
> Marc can probably answer this and the other questions much better
> that I, but i will give it a go.
>
> IMHO i would say jws is very much associated with JSRs 101, 109 and
> 181 and SOAP-based Web services that can be described by WSDL.
>
>
>> The packages are named javax.ws.rs, rather than javax.ws.rest as
>> in the initial proposal--any reason for this change?
>>
>
> We did not want to refer explicitly to 'rest' and thus imply that
> it was *the* REST-based API for Java.
>
Our preferred package was javax.ws.rest but ASF strongly objected to
the "rest" part of the package so we switched to javax.ws.rs.

The javax.jws annotations are all very JAX-WS and SOAP oriented and I
don't think the JSR 311 APIs fit in well there.

IMO, the package name isn't that important. I'd have liked to have
"rest" in there so it jumps out at people when they are looking
through package lists but its not big deal.

Marc.

---
Marc Hadley <marc.hadley at sun.com>
CTO Office, Sun Microsystems.