JAX-RS和Apache CXF [英] JAX-RS and Apache CXF

查看:96
本文介绍了JAX-RS和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

Apache CXF and Restlet are other implementations of JAX-RS that provide different additional features.

这篇关于JAX-RS和Apache CXF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆