JAX-RS 框架 [英] JAX-RS Frameworks

查看:58
本文介绍了JAX-RS 框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在使用 JAX-RS 参考实现(泽西岛)做一些工作.我至少知道另外两个框架(Restlet 和 Apache CXF).

I've been doing some work with the JAX-RS reference implementation (Jersey). I know of at least two other frameworks (Restlet & Apache CXF).

我的问题是:有没有人对这些框架进行过一些比较,如果是,你会推荐哪个框架,为什么?

My question is: Has anyone done some comparison between those frameworks and if so, which framework would you recommend and why?

推荐答案

FWIW 我们正在使用 Jersey 作为其打包的全部功能(例如 WADL、隐式视图、XML/JSON/Atom 支持)拥有庞大且充满活力的开发人员社区在它背后,并有很好的 spring 集成.

FWIW we're using Jersey as its packed full of features (e.g. WADL, implicit views, XML/JSON/Atom support) has a large and vibrant developer community behind it and has great spring integration.

如果您使用 JBoss/SEAM,您可能会发现 RESTeasy 集成得更好一些 - 但如果您使用 Spring 进行依赖注入,那么 Jersey 似乎是最简单、最流行、最活跃和功能性的实现.

If you use JBoss/SEAM you might find RESTeasy integrates a little better - but if you use Spring for Dependency Injection then Jersey seems the easiest, most popular, active and functional implementation.

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

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