Ákos Maróy wrote:
> Paul,
>
>> What you are comparing is 0.5 and 0.4 of JAX-RS API.
>>
>> 0.4 JAX-RS API is implemented by 0.4 Jersey. The manifest of the
>> jersey.jar contains the versions of the specification and the
>> implementation.
>>
>> Unfortunately there is a delay between the stable release of the API and
>> the implementation.
>>
>> A stable release 0.5 of Jersey, implementing 0.5 JAX-RS, will be
>> available on Jan 18th. In the mean time if you want to work from the
>> latest API you need to get the latest builds [1] or work from the source
>> directly. You can find the list of changes from releases here [2].
>
> I was working from the 0.5 snapshot download already, and saw this
> behaviour. The download page says that's about 3 days old, so must be
> up-to-date.
>
> So it seems that I have to wait until the 18th :)
>
You should be able to use those now. I just downloaded the latest
"jersey-snapshot-0.5-ea.zip" and "jersey-0.5-ea.zip", the examples use
@GET and @Path annotations that are present in the 311 jar (and src) and
documented in the 0.5 API [1].
@UriTemplate [2] is from the 0.4 API and that was renamed to @Path [3],
which is from from the 0.5 API. Were you thinking they were the other
way around?
Paul.
[1]
https://jsr311.dev.java.net/nonav/releases/0.5/index.html
[2]
https://jsr311.dev.java.net/nonav/releases/0.5/javax/ws/rs/Path.html
[3]
https://jsr311.dev.java.net/nonav/releases/0.4/javax/ws/rs/UriTemplate.html
>
> Akos
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>
--
| ? + ? = To question
----------------\
Paul Sandoz
x38109
+33-4-76188109