Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Demo application on OpenShift | A simple tutorial on using MongoDB with the JBoss AS7 application type

branch: master

Fixing urls

latest commit 8aa33237f9
Dan McPherson danmcp authored April 06, 2014
Octocat-spinner-32 deployments Creating template November 23, 2011
Octocat-spinner-32 src Updating urls March 13, 2014
Octocat-spinner-32 .gitignore test1 November 23, 2011
Octocat-spinner-32 .project Fixing several consistency issues March 02, 2012
Octocat-spinner-32 Fixing urls April 06, 2014
Octocat-spinner-32 pom.xml update readme November 23, 2011

JBoss AS Quickstart for MongoDB

This is a simple Red Hat OpenShift example containing a JavaEE6 servlet that illustrates some of the steps in the MongoDB Java Tutorial:

Running on OpenShift

Create an account at

Create a jbossas-7 application with mongodb (you can call your application whatever you want)

rhc app create testmongo jbossas-7 mongodb-2

Add this upstream repo

cd testmongo
git remote add upstream -m master git://
git pull -s recursive -X theirs upstream master

Then push the repo upstream

git push

That's it, you can now checkout your application at:


The quickstart code is licensed under the Apache License, Version 2.0:

Something went wrong with that request. Please try again.