JAX-RS and Apache CXF

安稳与你 提交于 2021-01-29 03:40:14

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!