RESTful application on Google App Engine Java?

后端 未结 10 1849
轻奢々
轻奢々 2020-12-22 15:43

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 h

相关标签:
10条回答
  • 2020-12-22 15:57

    Well, I would highly advice you to have a look at play framework

    Have a look at the video on the homepage

    It has a gae module

    With siena as a orm to handle gae datastore

    From all the java frameworks I've seen so far, I think it has the easier learning curve,

    • great documentation,

    • a tutorial to develop a complete application

    • very active and helpfull community,

    • free as in beer and also as in speech

    • highly scalable due to it's stateless out of the box design

    • rest friendly

    • highly customizable via it's modules and plugin approach

    more over, taking into account it's for a college course, it's really easy to hack into the code, I could handle a couple of tickets and new features without any experience at all with java, just a couple of year developing web applications with php

    other benefits

    • it's really easy to start, no complicated setup involved, just download and unzip the file and your are ready

    • great development experience, just fix the code and hit refresh, play autocompiles changes on the fly when running on development mode

    • fast and lightweight

    • fullstack, you don't have to integrate cumbersome frameworks to make it work

    • great errors report, no more endless error stack trace, just shows you the line with error

    • no xml configuration anywhere around

    • great support for tdd with selenium integrated test

    I think the main advantage as a learning tool, is that it's possible to peek into the source code without feeling lost and the community support... The documentation is very clear, and you can learn a lot by just having a look at the source code...

    0 讨论(0)
  • 2020-12-22 16:01

    I am going to begin exploring this as well, but haven't started yet. I did find this framework, that says it should work, but like I said haven't tried it yet.

    http://wiki.restlet.org/docs_1.2/13-restlet/275-restlet/252-restlet.html

    If you get it working, or manage to get one of the above suggestions working, update everyone as I am sure there is interest in this.

    0 讨论(0)
  • 2020-12-22 16:04

    I'm using Restlet together with Guice on Google AppEngine. IMHO they fit together very well. See my recent blog post for further details: http://haraldpehl.blogspot.com/2009/11/google-appengine-restlet.html

    0 讨论(0)
  • 2020-12-22 16:10

    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.

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

    0 讨论(0)
提交回复
热议问题