Hi
On 28/07/14 13:30, Stan Ioan Eugen wrote:
Hello,
I'm working on a Hypermedia driven service using CXF JAX-RS 2.0 and
CDI and I can't figure out how or if it's possible to use [1] in CXF
3.0.1
No, the annotation based approach is not supported in CXF. There was
discussion about some if it be added to 2.0 but it did not make it. IMHO
it is a bit intrusive for the domain model, but may be I'm wrong, and it
also may affect the validation (i.e, the data representation has new
attributes/elements added which is not expected by the schema, etc)...
I wish to be able to declare links between my resources.
Can I use javax.ws.rs.core.Feature implementations inside CXF and how ?
Register them as JAX-RS providers (ex, in a custom application) or via
DynamicFeature
Cheers, Sergey
Thanks,
[1] https://jersey.java.net/documentation/latest/declarative-linking.html