JAX-RS和Apache CXF [英] JAX-RS and Apache CXF
问题描述
我是Web服务的新手,对JAX-RS和apache CXF感到困惑
I am new to Webservices, I am confused about the JAX-RS and apache CXF
我读到的是JAX-RS是API,而Apache CXF是JAX-RS的实现
What i read is that JAX-RS is API and Apache CXF is implementation of JAX-RS
JAX-RS不是规范,是否有可能使用JAX-RS来构建REST服务?
JAX-RS is not specification , Is it possible to direclty use JAX-RS to build REST services?
如果我错了请纠正我
致谢
推荐答案
JAX-RS 是一个规范.它提供的二进制文件仅包含Interface
定义,而没有实现.
JAX-RS is a specification. The binaries provided by it only contain Interface
definitions but no implementations.
JAX-RS的默认实现是泽西岛.它提供了实现以及其他功能.
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.
这篇关于JAX-RS和Apache CXF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!