H
H
HVV7772020-09-03 12:05:56
Java
HVV777, 2020-09-03 12:05:56

How to create a database connection pool manager without using third party libraries?

Hello.

The following task arose: it is necessary to write a connection manager that will contain two pools of connections to databases, one of them is the main one, and the second is a backup. Those. so that when communication with the main pool fails, it automatically switches to the backup one, and in case of restoration of communication with the main base, switch back to it. The task also states that the connection manager should not be any Open Source library.

I would appreciate any information on this topic.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question