In my project I face a problem of inactive session on database due to lots of load. when I check v$session table I got 12000 inactive session so I thinking use connection pool for solve this issue so is it possible to use connection pool in java project not in web project ?
Because while use connection pool need to setup in context.xml and my project is not web project it is java application project