Google App Engine Java 上的 RESTful 应用程序?

2022-01-21 00:00:00 google-app-engine rest java jersey restlet

我想在 Google App Engine 上创建一个 RESTful 应用.我想提供 XML 和 JSON 服务.我对 Restlet、Resteasy 和 Jersey 进行了简短的试验.除了 Restlet 中的一些简单示例之外,我在其中任何一个方面都没有取得太大成功.

I would like to create a RESTful app on Google App Engine. I would like to provide XML and JSON services. I have briefly experimented with Restlet, Resteasy, and Jersey. I haven't had much success with any of them, other than some simple examples in Restlet.

您能否分享您使用 Java 在 Google App Engine 上创建 Restful Web 应用程序的经验,或者提供有关 GAE 上上述工具包的任何见解?

Could you share your experiences creating a Restful web application on Google App Engine using Java or provide any insight on the aforementioned toolkits on GAE?

谢谢!

编辑(2009-07-25):

Edit (2009-07-25):

我决定暂时使用 Restlet.到目前为止,它似乎完美无缺.请发表您可能有的任何其他见解/意见.你遇到过什么问题?你在 GAE/J 上成功使用 Jersey/Restlet/Resteasy 了吗?如果是这样,我们想听听!

I have decided to use Restlet for the time being. It seems to work flawlessly so far. Please post any other insights/opinions you may have. What problems have you encountered? Have you successfully used Jersey/Restlet/Resteasy on GAE/J? If so, we want to hear about it!

推荐答案

我很高兴地报告 Restlet M3 在 AppEngine 1.2.2 上运行良好.我已按照 http://restlet 找到的第一步"和第一个资源"教程进行操作.com/technical-resources/restlet-framework/guide.

I'm happy to report that Restlet M3 works FLAWLESSLY on AppEngine 1.2.2. I have followed the "First steps" and "First resource" tutorials found http://restlet.com/technical-resources/restlet-framework/guide.

因此,在我看来,Restlet 是您的 GAE/J Restful 应用程序的答案.

So, it seems to me that Restlet is the answer for your GAE/J Restful applications.

相关文章