摘要
使用传统的数据库连接模式开发 Web 系统,建立和关闭数据库连接的过程将会严重增加系统开销,成为造成 Web 系统速度瓶颈的重要原因。使用连接池技术,数据库连接得到了高效、安全的复用,避免了其频繁建立、关闭的开销。介绍数据库连接池的基本原理、工作机制,详细讨论了如何用 Java 实现数据库连接池,并对连接池在 Web 系统开发中的作用做出评价。
Using the traditional database connection mode to develop Web system, the course of opening and closing database connections would increase the systematic expenses seriously, and cause Web systematic tempo bottleneck. With the connection pool, the database connection could be reuse efficiently and safely, and it also could avoid frequently opening and closing . It was introduced basic principle , working mechanism of the connection pool, and was discussed in detail how to implement the connection pool with Java, additionally it also was appraised the impact of the connection pool in developing Web system.
出处
《铁路计算机应用》
2005年第2期48-50,共3页
Railway Computer Application