This document discusses bringing spatial capabilities to Java applications using MongoDB. It provides an overview of spatial data and indexing in MongoDB, demonstrating how to [1] store location coordinates in an array or nested objects, and [2] create a 2d index. The document then [2] demonstrates loading sample spatial data, running spatial queries, and accessing the data through web services. It concludes by encouraging developers to use these techniques to build location-based applications on MongoDB and OpenShift.