摘要
针对J2EE应用中由于数据库连接频繁导致系统开销过大的问题,文章提出了在Java应用服务器—Jboss中实现数据库连接池的机制,介绍了数据库连接池的工作原理并分析了利用数据库连接池的优势,给出了在Jboss中实现数据库连接池的方法和调试代码。这对于开发J2EE应用具有一定的指导意义。
According to the problem which takes much system resource when the J2EE application system connect to the database many times, this paper puts forward to realize the database connection - pool mechanism in Jboss application server, introduces the running mechanism of database connection - pool and analyzes its advantages, shows the resolution of database connection - pool in Jboss and its debug code. It has a great guiding significance for the J2EE applications developed.
出处
《微处理机》
2008年第1期86-88,共3页
Microprocessors
基金
辽宁省自然基金(002071)