This post provides a quick run through of using Google App Engine to host a simple REST application developed with Jersey (http://jersey.java.net/). I read the tutorial (http://www.vogella.de/articles/REST/article.html) to get going but decided to use Google App Engine for hosting as I’m interested in cloud auto scaling features.
The process type can either be called slowProcess or highCpu and gets used as below.
Enough of the code how do you get it running on Google’s servers? First you must use Google’s SDK which is available as an Eclipse plugin as described in http://code.google.com/appengine/docs/java/tools/eclipse.html. That article refers to using up to Eclipse 3.6 Helios however a bit more searching takes you to http://code.google.com/eclipse/docs/download.html which provides the download details for the 3.7 Indigo release I’m using. In Eclipse using Help -> Install New Software… You add the http://dl.google.com/eclipse/plugin/3.7 to the Work With field as below.