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 -

c - Defining floating point constants, how many digits are useful? -

C# Apple Bonjour - how to monitor service records within Windows -