Thursday, May 9, 2013

Open Source Enterprise MBaaS platform: Get Started Guide

These are exciting times in the MBaaS (Mobile Backend As a Service) marketplace. The last few weeks have seen a couple of very strategic acquisitions that validate this new category of software in the mobile space.

At OpenMobster we are gearing up to become a major provider in the Enterprise space. While other MBaaS players are trying to figure out their niche (Consumer Apps, Enterprise Apps, or both), we at OpenMobster are primarily focused on mobilizing Enterprise backend data. Keeping that in mind, we constantly work on our Sync and Push services. Our next avenue is going to be creating a free and open source SDK for the Cloud Service. The ultimate goal of this project is to provide a free and open source solution for Enterprises looking to build strategic mobile apps.

With that in mind, I would like to present a very simple Step-by-Step guide on how to get started with the OpenMobster MBaaS platform.

Step 1: Prepare the JBoss AS5 server with the OpenMobster Cloud Server
Download OpenMobster 2.4-M2 binaries. Extract the zip file. You should see a cloudServer folder among the list of folders in the binary distribution.
Download JBoss 5.1.0 server from here. Extract the zip file.
Now install the OpenMobster Cloud Server into the JBoss AS. You can do that by copying cloudServer/hsqldb/openmobster to the JBOSS_HOME/server directory
cp -r cloudServer/hsqldb/openmobster $JBOSS_HOME/server/openmobster

Step 2: Run the OpenMobster Cloud Server
Go to $JBOSS_HOME/bin directory. Inside there type in:
./ -c openmobster

On Mac OSX and some flavors of Linux, you will find that you need Admin rights to run a web server on port 80. Hence, if you get an error binding to port 80, the above command needs to be:
sudo ./ -c openmobster

Step 3: Run an Android Emulator or connect an actual device to the computer via USB

Step 4: Install the CRUD Sync App
Download the CRUD Android Sync App. Install this App onto the emulator or the device using the following command:
adb install -r crud-1.0-zipped.apk

Step 5: Activate the CRUD App with the Cloud Server
When the CRUD App is launched you will be presented with the Activation Workflow. It will collect 4 values:
Server: The IP or FQDN address where the Cloud Server is running. In case of an emulator connecting to localhost, you can use the value:
Port: Port where the Cloud Server is running. The default value is 1502 and is pre-filled
Email: A valid Email Address
Password: Password to be associated with this user/device

Thats it. In 5 easy steps you should be able to get up and running with an End-to-End Sync App with Push notifications.

I value community feedback very much. If you run into any unexpected issues with these steps, please report them in the Comments section. It will be of great benefit to the OpenMobster Community in general.

Next: Creating an Enterprise App using the OpenMobster MBaaS Platform

CEO, OpenMobster, Open Source MBaaS Platform


1 comment:

  1. I am Trying to use openMobster. When I tried to run cloud server using jboss. ( mention at your doc page 9). I got the following error " [ServiceManager] class org.openmobster.core.common.ServiceManager
    java.lang.IllegalStateException: crm_ticket_channel is already installed. ". Can you tell me the solution. I follow all the given steps carefully.