How to access Database class instance?
<p>I have a web application in JSP with MongoDB and it performs different operations like search, update, delete on multiple pages. So can I create a single <code>MongoClient</code> instance for all pages or create single instance and call them whenever necessary? which is more efficient with respect to efficiency and speed?      </p>