Example jboss application implementing a REST API with a mongodb backend.