Hi, I am very curious to know as to how do i create connection pool,i have referred some examples but not being able to understand it.can someone tell me the advantage of connection pooling along with a very nice examples. Thanks Anand
When u create a connection pool a number of connections are created when the connection pool class is instantiated.Your servlets or other programs borrow a connection from the pool, use it and then return them to the pool. Now this happens really fast.So it efficent. If u do not create a pool then u have to establsh connection in every servlet etc which wastes a lot of time coz response time is critical in web applications.