实施 RESTful Web 服务
我需要创建 RESTful Web 服务。
我已经缩小了 Web 服务实现的“Restlet”范围。
有人可以告诉我使用 Restlet 的明确优点和缺点,以及是否有更好的替代方案。
提前致谢
I have a requirement to create RESTful web service.
I have narrowed down on 'Restlet' for the web service implementation.
Can someone tell me the clear pro's and con's of using Restlet and if there are any better alternatives.
thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
Restlet 拥有针对 Spring、WADL、XML、JSON 等的广泛扩展列表,其中包括一个扩展用于 JAX-RS API。
它也是提供六个一致版本的唯一框架:
它的主要优点是:
如果您仅限于 JCP 批准的 API(那么不要使用 Spring 或任何扩展),JAX-RS API 可能是一个不错的选择像 Jersey 和 RESTeasy 这样的 JAX-RS 项目的一部分!),但除此之外,Restlet 是最成熟的框架(最初于 2005 年发布),并且将在其 2.0 版本中为您提供注释与强大且可扩展的类相结合的所有好处 -面向的框架。
如需查看更长的功能列表,请查看此页面。
此致,
Jerome Louvel
Restlet ~ 创始人兼首席开发人员 ~ http://www.restlet.org
Restlet has an extensive list of extensions for Spring, WADL, XML, JSON as well and many more, including an extension for JAX-RS API.
It is also the sole framework available in six consistent editions:
Its main benefits are:
The JAX-RS API can be a good choice if you are restricted to JCP approved APIs (then don't use Spring or any extension of the JAX-RS projects like Jersey and RESTeasy!), but otherwise Restlet is the most mature framework (initially released in 2005) and will give you, in its 2.0 version, all the benefits of annotations combined with a powerful and extensible class-oriented framework.
For a longer list of features, please check this page.
Best regards,
Jerome Louvel
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
有关 JAX-RS 框架的比较,请参阅 JAX-RS 框架
For a comparison of JAX-RS frameworks see JAX-RS Frameworks
Jersey API 可用于实现 RESTful Web 服务。
http://jersey.java.net/
除了 RESTful Web 服务之外,Jersey 还提供许多其他功能。
Jersey API can be used to implement RESTful Web services.
http://jersey.java.net/
Other than RESTful Web services, Jersey also provide many other features.
有关可用 REST 框架及其比较的一些更有用的链接:
A Comparison of JAX-RS 实现
rest-introduction
tilkov-rest-doubts
休息反模式
JAX-RS 供应商比较 - 第 I 部分
Some more useful links regarding available REST frameworks and their comparisons:
A Comparison of JAX-RS Implementations
rest-introduction
tilkov-rest-doubts
Rest anti-patterns
JAX-RS Vendor Comparisons - Part I
Apache Cocoon 是实现 RESTfull Web 服务的一个非常好的解决方案。
Apache Cocoon is a very good solution to implementing a RESTfull Web Services.