We have an application built using JDBC which is blocking I/O
JDBC will send a query to a database and hold up the thread making the query until the result comes back.
JDBC is a series of APIs that talk to a database, but is blocking.
Attempts to scale JDBC have been implemented by putting JDBC connections behind a thread pool, but when the thread pool gets saturated, it can eventually block at accepting new work, defeating the whole endeavor.
Blocking JDBC behavior requires threads to be put into I/O wait until receiving a response.
How to fix or convert the existing application which uses JDBC as Non Blocking I/O ??