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.