Shinil Mohan wrote:Below URL have some sample code from SDN, can you check those once and see if you are able to do what you are trying http://java.sun.com/developer/onlineTraining/Programming/JDCBook/conpool.html#pool