球衣带有 Spring 3.0?
我看到有些人正在使用带有 Spring 的 Jersey。在 Spring 3.0 中,现在可以使用注释直接在控制器中创建 RESTful API。为什么我应该考虑使用 Jersey w/ Spring?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Jersey 优点:
编辑
Spring MVC 和 JAX-RS 的(非常好的)比较
Jersey pros:
EDIT
A (very nice) Comparison of Spring MVC and JAX-RS
Spring 3 向后兼容,因此您可以使用 Jersey。
您得到的并不是将您的应用程序与专有 API 绑定。
Spring 3 is backwards compatible so you can use Jersey.
What you get is not tying your application to a propietary API.