I want to implement connection pooling for a stand alone java application. I picked up one of the simple connectionPool classes from the internet which checked-in and checked-out connections from the pool, and plugged it into my application but I have been asked to use something similar to a tomcat connection pool. I cant use a server for implementing connection pool, then how shall i do it?
I dont want to use tomcat or any other server. My application is standalone and does not run using tomcat or anything. I have to implement connection pooling the way tomcat does it. Thats what I'm asking...how does tomcat do it? I went through thr code but couldnt get much from it. Please help.