java - Web Application in Tomcat, how to connect to MongoDb -


i wondering correct way access mongodb server web application inside tomcat.
mongodb documentation describes how connect mongoclient, possible define datasource , manage connection pool?
far see, not. guess entire managing of connection pool has done manually, parametrical configuration of server ip , port?


Comments

Popular posts from this blog

c++ - list<myClass<int> * > sort -

SoapUI on windows 10 - high DPI/4K scaling issue -

java - why am i getting a "cannot resolve method" error on getApplication? -