basic implementation of java and mongodb.
include basic implementations of java and mongoDB.