|
Written by Sleepy Egg
|
|
Thursday, 23 June 2005 |
|
Using pooled database connection improves performence greatly. Without using pooled database connection object, connection will be created and then destroied. Creation of database is very heavy. Most of database drivers (JDBC 2.0) implement pooled connection instance; some people called it logical instance. It is acting like a wrapper, wrapps the physical connection instance. When application invoke close() method in it, it will just put the physical connection instance back the connection pool.
|