I've got it mostly finished, but I'm going to add few more tests before
supplying a patch
Cheers, Sergey
----- Original Message -----
From: "Sergey Beryozkin" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, February 15, 2008 4:55 PM
Subject: JAX-RS API version change
Hi
Currently, the CXF JAX-RS implementation depend upon a 0.4 version of the
jaxrs-api.
I'm looking into upgrading it to support a latest 0.5 version.
There're some changes from 0.4 to 0.5 which would affect users.
The following is the list of what has changed between 0.4 and 0.5 which will or
may have an effect on the
current JAX-RS applications built on top of CXF :
1. @HttpMethod annotation is no longer supported, instead
@GET, @POST, @PUT and @DELETE annotations will be used
2. @UriTemplate is not longer supported, @Path is used instead
3. EntityProvider interface has gone too, instead it has been split into two
interfaces,
MessageBodyReader and MessageBodyWriter. If you provide custom providers and you'd like to have the same instance to handle both
reads and writes, then you'd have to have its class implementing both interfaces.
Existing spring configuration for injecting custom providers won't get changed,
the runtime will sort difrerent types of handlers
into the right lists itself...
Cheers, Sergey
----------------------------
IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland
----------------------------
IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland