Mongoboston-cloudfoundry is a project mainly written in JAVA and RUBY, it's free.
Cloud Foundry Demo for Mongo Boston 2011
This app is a sample app featuring basic MongoDB configuration for Ruby and plain Java for CloudFoundry.