我看到有些人正在使用带有 Spring 的 Jersey.在 Spring 3.0 中,现在可以使用注释直接在控制器中创建 RESTful API.为什么我应该考虑使用带有 Spring 的 Jersey?
解决方案Jersey 优点:
带有规范JSR 311 JSR 311 的参考实现Restlet 和 RESTeasy 是 JSR 311 的其他实现更好的工具(至少在 Netbeans 上)它与 Spring 和 Guice 集成编辑
Spring MVC 和 JAX-RS 的一个(非常好的)比较p>
I see some are using Jersey w/ Spring. With Spring 3.0 there are now annotations available to make RESTful APIs directly in a controller. Why should I consider using Jersey w/ Spring?
解决方案Jersey pros:
comes with specifications JSR 311 reference implementation for JSR 311 Restlet and RESTeasy are other implementations for JSR 311 better tooling (at least on Netbeans) it is integrated with Spring and GuiceEDIT
A (very nice) Comparison of Spring MVC and JAX-RS
上一篇:Jersey/JAX-RS 资源方法输入 bean 验证方法、资源、JAX、Jersey
下一篇:为什么不是错误rasied内获取-的SPWeb得到传播到PowerShell的?错误、不是、rasied、SPWeb