摘要
首先介绍了JDBC、ODBC以及JDBC-ODBC桥的相关概念,并阐明了JDBC-ODBC桥的新功能,然后分析了基于JDBC-ODBC连接数据库的原理,并用实例实现了数据库的连接。本文利用JavaBean将数据库的连接封装起来,当多个页面都需要连接数据库时,可以直接调用相应的Bean,使得开发高性能的数据库应用变得相对容易。
This paper presents the concepts of JDBC,ODBC and JDBCODBC bridge,and expatiates on the function of JDBC-ODBC bridge,then analyzes the theory of database connection based on JDBC-ODBC bridge.At last,it illustrates the implementing of database connection.This paper uses JavaBean to pack the process of database connection,so that different pages can share the same Bean.
出处
《计算机与现代化》
2008年第5期28-31,共4页
Computer and Modernization