检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]西安石油大学计算机学院,陕西西安710065 [2]山东省青岛市第五十一中学,山东青岛266071
出 处:《计算机与现代化》2007年第9期103-105,共3页Computer and Modernization
摘 要:分析了XML格式配置文件的特点及SAX(Simple Application interface for XML)解析的关键技术。针对在通常的JSP编程中,为了适应不同的系统环境而频繁修改数据库配置、驱动、连接程序模块的缺点,提出了将基于XML的数据库配置文件应用于JSP动态网页技术中,使连接数据库的信息配置业务从JSP应用程序的数据库连接模块中分离出来,避免了程序代码的重复修改和编译,增强了程序的复用、可移植性。On the basis of analyzing the features of XML configuration f'de and the key technology of XML parser, this paper introduees a method of using the configuration file based on XML in JSP, it separates database configuration file and the messages of connection from the operations on them, so as to reduce the coupling with configuration files and avoid the frequent modification of JSP program, Experiment results show that the strategy is efficient and extensible, at same time, the performance of system dealing with the issue of transaction and multi-thread is improved.
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.188