摘要
在分析JDBC的体系结构基础上,重点论述了运用Java语言进行系统前端应用程序与后端数据库的连接方法,以及在JDBC设计中加载不同的驱动程序、创建数据库连接的策略。同时,还就扩展的数据访问方法JND I进行了探讨。不同连接方法的研究表明,在基于网络的数据库应用系统的开发中,选择合适的连接方式可以为系统提供更可靠、更高效的数据访问,从而提高应用系统的稳定性和性能。
On the basis of the analysis of the architecture of Java DataBase Connectivity ( JDBC), the methods of connection between the front-side application and the back-side database system based on Java and the ways of loading different drivers and implementing database connection in the JDBC programming are discussed, with its focus on JNDI-the extended and better method to access database. The study shows that the right connectivity method may provide more reliable and efficient data access to improve the Stability and performance of the database system based on network.
出处
《福建工程学院学报》
CAS
2007年第6期586-589,共4页
Journal of Fujian University of Technology
关键词
数据连接
JDBC
驱动程序
JNDI
DataSource
database connectivity
Java DataBase Connectivity (JDBC)
driver
Java Naming and Directory Interface (JNDI)
Datasource