JDBC Connection Creation Problem.Help needed?
Hi to all,
Currently i am using connections which are created during web application loading and each and every time when i use connection related methods i am closing the connections.What my problem is
i read that it is not efficient to close connection objects.Some of them suggested to use object pool design pattern,some thing like to have a ConnectonPool Concept where all connections are created.
But the actual problem is after some time connection object is closed by default.I need some code where Connection Pool is maintained and if a connection is closed the connection object automatically created.
Sandeep Reddy Mukkala