Table of Content

This is a skeleton application for a Google App Engine Java REST backend.

It provides sample code for a standardized REST API which is used within Cloudburo.

It will integrate essential libraries and frameworks which are simplifying the building as well as testing of the Cloudburo REST API layer.

The API specification can be found here

The sample will implement a REST API for a Customer domain object, which is based upon the following frameworks

  • The Google App Engine Java Framework
  • Objectify is a Java data access API specifically designed for the Google App Engine datastore.
  • Gson is a Java library that can be used to convert Java Objects into their JSON representation
  • org.joda-time: Joda-Time provides a quality replacement for the Java date and time classes.
  • com.cloudburo.clb-appengineBackend: A Java Utility library which implementes the Cloudburo REST API Interface behaviour.

For testing purposes the following frameworks are intgerated.

  • junit: Is a simple framework to write repeatable tests
  • org.mockito: Mockito is a mocking framework that tastes really good. It lets you write beautiful tests with clean & simple API.
  • com.cloudburo.clb-test: Are our testing libraries which mainly are managing test data loads from csv files.

Source Location

Fork me on GitHub:

Release Information

The Skeleton is actually work in progress and used as base for testing out quickly REST interface extensions. The template is used as base for our Acceleo based code generators, which will automate the REST backend implementation.

 References to other Cloudburo Open Source Work

Base of Skeleton

The Cloudburo skeleton is based on the Skeleton Application of Google, which is released under Apache License Version 2:

App Engine Java Application Copyright © 2010-2012 Google Inc.

Skeleton application for use with App Engine Java.

Requires Apache Maven 3.0 or greater, and JDK 6+ in order to run.

To build, run

mvn package

Building will run the tests, but to explicitly run tests you can use the test target

mvn test

To start the app, use the App Engine Maven Plugin that is already included in this demo. Just run the command.

mvn appengine:devserver

For further information, consult the Java App Engine documentation.

To see all the available goals for the App Engine plugin, run

mvn help:describe -Dplugin=appengine