摘要
探讨了使用JNDI技术实现JDBC应用程序接口,实现数据库连接缓冲池,从而提高代码的可移植性,优化数据库的使用性能,实现真正的分布式事务处理。并通过一个开发实例对使用数据库连接缓冲池和直接使用JDBC接口访问数据库进行了比较。
The paper discusses the use of the instance object of JDBC API based on the theory of JNDI, implements database connection pool, heightens the code's transplantable property, and optimizes the perfommanees of database. A real distributed business processing is implemented.
出处
《计算机与现代化》
2005年第12期42-44,76,共4页
Computer and Modernization