As part of the preparations for the recent 1.0.0 release of jclouds, I was tidying up the existing Tweetstore demo application as well as porting it to CloudBees’ Tomcat-based RUN@cloud platform.
A key part of the test harness for the original versions of Tweetstore that run on the Google App Engine is the neat GoogleDevServer class. Basically, it’s a clever wrapper around the KickStart class used under the covers by the GAE SDK tools that allows you to specify the SDK location, address, port and WAR file (or expanded WAR directory) to run.
Better still, it can programmatically be shut down cleanly, making it ideal for integration test runs1.
For CloudBees, I was thus looking to put together a similar RunAtCloudServer. It proved more challenging than expected…2
(more…)
Tags: jclouds
Filed under Cloud, Google AppEngine, Java, Middleware, Tools | No Comments »
Recently, I put together a Spring demonstration for jclouds, the Java cloud library. This quickly turned into unexpected multi-dimensional experiment in integrating Guice, Google App Engine and Spring, but after much trial-and-error I finally came across a configuration that does the trick – or at least works1 as well as seems possible on GAE. (more…)
Tags: Amazon Webservices, Frameworks, GAE, Google App Engine, Guice, Javaconfig, jclouds, Spring
Filed under Java | 4 Comments »