Part of my attempts to better understand working with MongoDb using Java.