A pool of objects (resources) is a design template .
Tomcat does not have a connection pool; instead, it allows you to define multiple pools . Then you control the area and gain access to each pool through the service provider as a global server, service, engine, host, or just a single context . The application is looking for a connection pool, and the service provider ensures that certain rules are maintained.
However, your question, which he opened so, we cannot make possible the most suitable solution for you.
source share