Could be an interesting enhancement to TomEE: https://github.com/exabrial/HikariCP
Also, I found this fascinating: https://github.com/brettwooldridge/HikariCP/wiki/About-Pool-Sizing -- Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Dev-f982480.html