更新时间:2023-11-20 20:03:16
Tomcat中没有一个连接池, 定义多个池。然后,您可以通过服务提供者作为全局服务器,服务,引擎,主机或只是一个上下文。应用程序查找连接池,服务提供程序确保保留定义的规则。
There is not a single Connection pool in Tomcat, instead it allows you to define multiple pools. You then control the scope and access to each pool via a service provider as either the global server, a service, an engine, a host or just a single context. The application looks up connection pool and the service provider ensures the defined rules are upheld.
但是,您的问题是这么开放我们不可行建议最适合您的解决方案。
However, your question it so open ended we cannot feasible suggest the most appropriate solution for you.