Madhu
Madhu

Reputation: 1

Can spring boot applications deployed on a tomcat server use a common connection pooling?

When multiple spring boot applications created and deployed to a tomcat server. Is it possible to use a common connection pooling, datasource instead of providing these details in application.properties file. Or does this already taken care within the spring boot implementation

Upvotes: 0

Views: 70

Answers (1)

RoshanKumar Mutha
RoshanKumar Mutha

Reputation: 2445

When you deploy multiple application then each application manages it connection pool.

Spring boot boundary is limited to each application context and it does not know what other application deployed and which db they are using.

Upvotes: 1

Related Questions