问题
I am new to Webservices, I am confused about the JAX-RS and apache CXF
What i read is that JAX-RS is API and Apache CXF is implementation of JAX-RS
JAX-RS is not specification , Is it possible to direclty use JAX-RS to build REST services?
Please correct me if I am wrong
Regards
回答1:
JAX-RS is a specification. The binaries provided by it only contain Interface
definitions but no implementations.
The default implementation of JAX-RS is Jersey. It provides implementations plus additional features.
Apache CXF and Restlet are other implementations of JAX-RS that provide different additional features.
来源:https://stackoverflow.com/questions/22653042/jax-rs-and-apache-cxf