title: Managing Mongodb connections in Java as Object Oriented
body: <p>How Do I properly Manage mongo connections using multiple classes ?</p>
  <p>For example I have 4 classes that manages 4 collections.</p>
  <p>Collection1.class
  Collection2.class
  Etc..</p>
  <p>What I do is creating a connect and close method in each class which by the time slows the connection of some transactions in the app</p>
  <p>What would be the best way to connect the app to db once and start using all the classes instances other than creating object of each class and connecting each one separately ?</p>