Restlet in the cloud with Google App Engine! April 11, 2009Posted by Jerome Louvel in Restlet.
We are living exciting times! This week, Google has released an early version of their widely expected support for Java in Google App Engine (GAE).
GAE is a computing platform that can host your Web applications and offer them massive and flexible scalability. Free accounts are available and you can pay for extra resources (CPU time, bandwidth, storage and mails sent).
Of course, REST is the perfect choice to build your Web applications that will live in the Google cloud. But, GAE achievements come with constraints because you share computing resources with others. So GAE makes you live in a sandbox with a limited set of Java APIs.
The great news is that Restlet has just been adapted to fully work with GAE! This port provides in a single “org.restlet.gar.jar” file:
- Full Restlet API
- HTTP(S) server via the built-in Servlet adapter
- HTTP(S) client via the built-in adapter to java.net.HTTPUrlConnection
- SMTP client via the built-in adapter for JavaMail
- Server-side GWT support via the built-in GwtShellServletWrapper class.