Simple examples of the java driver for MongoDB