Fork me on GitHub

Getting Started

The MemoNodes data store can be easily integrated in an existing Java project useing the provided libraries.
MemoNodes provides the following libraries for deploying data-oriented applications on different platforms, with different storage facilities. The data store can be a file cached locally on your mobile Android device, or a file accessible from a regular application server (Tomcat, JBoss, Jetty) or other servlet containers (Winstone) that you host yourself, or on Google App Engine in the cloud.

This tutorial shows how to create an application using MemoNodes, and deploy, run and test it on Google App Engine. Google Datastore is used for persistency, and MemoNodes GAE implementation is used in this case.

Creating a project for another type of deployment is similar, you basically just have to include the MemoNodes libraries and configure a web servlet with the alternative library component used.

The tutorial contains the following steps:

Prerequisites

This tutorial assumes you have installed Eclipse and the Google Web Toolkit plugin.

Note that for a typical java web application you will need the Web Tools Platform plugin and a Tomcat server.

Project Setup

We will create a new project, add the required libraries, and configure a web servlet as main entry point to access MemoNodes memory.

Usage

Now the project can be started, compiled and run, and you can see one of the examples in action.

Deployment

Now you can deploy your application in the cloud, to Google App Engine.

Last updated: 03 August 2012