如何创建 REST Web 服务?
嗨
我喜欢用 Java 创建像 Facebook 这样的 API Web 服务?我如何使用 PHP 来访问它???
Hi
I like to create a API webservice like Facebook, in Java? and how can i use PHP for access it???
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
O'Reilly 有一本很棒的书 - RESTful Web Services。
There's an excellent book by O'Reilly - RESTful Web Services.
http://www.devx.com/Java/Article/42873/1954和 http://wikis.sun.com/display/ Jersey/Overview+of+JAX-RS+1.0+Features 是我开始的两个站点,它们很好地概述了您可以使用 REST 执行的基本操作。它在 Java 中使用 Jersey,您可以通过 google 查找更多有关如何创建特定服务的示例。 php 方面我不能真正帮助你,因为我不知道 php
http://www.devx.com/Java/Article/42873/1954 and http://wikis.sun.com/display/Jersey/Overview+of+JAX-RS+1.0+Features are two sites I started from that give a pretty nice overview of basic things you can do with REST. It is using Jersey in Java and you can google to find more examples of how to create specific services. The php side I can't really help you with though since I do not know php