基于XML的数据库中间件系统的设计方案研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
软件体系结构中,异构结构趋势越来越明显。中间件的发展为异构结构匹配提供了新的思路,其中数据库中间件是所有中间件中应用最广泛、技术最成熟的一种。它能有效地屏蔽对不同数据库系统的访问方法和用户接口,为用户提供一个访问异构平台的分布式数据库的公共接口。选择合适的数据库中间件能够有效提高系统的性能,提高软件系统的开发效率和软件系统的可靠性,降低软件系统开发的复杂度。
     本文从用户(例如企业)和软件工程技术两个角度对软件工程实施过程中普遍存在的一个问题进行了分析,阐述了数据库中间件技术产生的必然性,并分析了数据库中间件技术的发展现状以及几种数据库中间件各自的局限性。然后借鉴已有的数据库中间件的设计思想并从实际的用户需求出发,分析了理想的数据库中间件系统应该具有的几个基本特征。基于这些特征,本文提出了数据库中间件系统应该具有的几个主要功能模块,以建立一个数据库中间件系统设计模型。
     基于这个模型,本文还给出了基于XML的数据库中间件系统(XMLDBMW系统)的设计方案,并作了一个简单的实验系统。XMLDBMW系统主要由系统管理监控进程和数据库中间件服务器两个进程组成:系统管理进程主要任务是为系统配置、系统的启动和终止、系统监控提供一个可视化的操作界面;数据库中间件服务器是整个系统的主要部分,包括了上述理论模型的主要功能。在整个系统的设计和实验系统实现过程中,最大限度地松耦合设计,并采用跨平台的数据——XML作为数据交换标准、跨平台的语言Java作为开发工具,并严格的遵循相关的国际标准,便于以后的稳步扩展和标准化。
     最后,本文总结了作者完成的主要工作,并提出了下一步的研究方向。
In the software architecture, the trend for adopting the heterogeneous architecture becomes more and more obvious. The development of middleware gives light on the match among the heterogeneous software architectures. Database middleware is a technology used most extensively and maturely. It can availably wrap to different database system's methods and interfaces, provide some public interfaces for its client to visit the distributed databases in the heterogeneous platform. The database middleware technology is not only an effective way of increasing software productivity, but also it can provide new software with high reliability, high performance, high quality and low cost.
    This paper analyzes a common problem in the process of software engineering from two viewpoints: customers and software engineering technology. Then, It is expounded how to give birth to the database middleware technology. The paper analyzes the database middleware's present situation and its disadvantages. To satisfy requirements, the paper analyzes some characteristics of an ideal database middleware system. This paper constructs a design model of an ideal database middleware system with these characteristics.
    According to the model, this paper implements an experiment system, named XMLDBMW(XML-Based database middleware). The system consists of an administration tool and a database middleware server process. The former is to provide a visual interface for administrator to configure and control system. The latter, which is the core of the system, implements the theories model. XML is used as the standard format for data exchange and Java is used as developing language in the system. And, the design strictly follows related international standards to be convenient for expanding and standardizing in the future.
    Finally, this paper summarizes the main work that the author has completed, and puts forward the direction of further research work.
引文
[1] 梅宏.软件复用技术研究与应用[J].2002年中国(南京)软件国际化论坛。
    [2] 马松,盛浩林.Internet上数据库中间件原型的研究和构造[J].软件学报,1999,No.1
    [3] 杨立平,王小蕾,李彤,吕立.数据库中间件技术在三层客户机/服务器模型中的实现[J].小型微型计算机系统,2001,Vol.22,No.4
    [4] 杨芙清,朱冰,梅宏.软件复用[J].软件学报,1995,(9):525.
    [5] 徐正权.软件复用方法与技术[M].武汉:华中理工大学出版社,1998.
    [6] 张海潘.软件工程导论[M].北京:清华大学出版社,2000.
    [7] 汤子瀛等.计算机操作系统[M].西安:西安电子科技大学出版社,2002.
    [8] 张小梅.服务器端中间件技术[J].计算技术与自动,2001,(1):75—78.
    [9] 周之英.现代软件工程(中)[M].北京:科学出版社,2000.
    [10] 马德云等.异构数据库的集成[J].计算机工程,2002,No.10
    [11] Benoit Marchal.XML示例程序导学[M].清华大学出版社.2002.
    [12] 陈华军.J2EE构建企业级应用解决方案[M].北京:人民邮电出版社,2002.3
    [13] 冯登国.计算机通信网络安全[M].北京:清华大学出版社.2001.
    [14] Tracz, W. Confessions of a Used Program Salesman-Institutionalizing Software Reuse. New York: Addison-Wesley Pub-lishing Company, 1995.
    [15] Shaw, M., Garlan, D. Software Architecture: Perspectives on an Emerging Discipline. Englewood Cliffs, NJ :Prentice Hall, Inc., 1996.
    [16] Yang, Fu-qing. Software reuse and relevant technology. Computer Science, 1999, 26 (5) :1~4 (in Chinese).
    [17] 杨芙清.软件复用及相关技术.计算机科学,1999,26(5):1~4.[6]
    [18] Douglas E Comer.Computer Networks and Internets[M] 北京:清华大学出版社,1998
    [19] 仲萃豪.构筑分布式应用的关键技术[J].网络世界[EH/OL],http://www.cnw.com.cn/cow/2000
    [20] 应用中坚—IBM谈中间件[J].网络世界[EB/OL],hetp://www.cnw.com.cn/cow/2000
    [21] Roger S Pressman. Software Engineering: A Practition's Approach[M]. 3rd Edition, McGraw Hill, 1992
    [22] 杨绍方.Java编程实用技术与案例[M].北京:清华大学出版社,2000.
    [23] 张小梅.服务器端中间件技术[J].计算技术与自动,2001,(1):75—78.
    [24] Nirva Morissean—Leroy, Martin K. Solomon, Gerald P. Momplaisir. Oracle8i SQLJ Programming[J]. The McGraw Hill Companies. 2000.
    [25] 宋晓梁,刘东生,许满武,中间件及其在三层客户机服务器模型中的应用,计算机应用,Vol.19,NO.7 Jul.1999
    [26] Alexis D. Gutzman, SELECTING THE APPROPRLATE MIDDLEWARE FORYOUR WEB-TO-DATABASE APPLICATION, ACM SIGUCCS ⅩⅩⅤ 1997
    
    
    [27] 王辉,施小英,中间件服务及其集成框架,计算机工程与应用,1998
    [28] 马松.Internet上的数据库接口.见:Intranet国际研讨会论文集.上海,1997.24~36
    [29] Patel P, Moss K. Java Database Programming with JDBC. Scottsdale: Coriolis Group, 1996
    [30] Cornell G, Horstmann C S. Core Java. Palo Alto, California: SunSoft Press, 1996
    [31] 李子木,莫倩,周兴铭 数据仓库技术的研究及未来方向[J] 计算机科学,1998,25(6):32-35
    [32] Mukesh Mohansia Avoiding Recomputation: View Adaptation Data Warehouse[A]. VLDB96[C]. 1996
    [33] Li Wen-Syan, Clifton C. Dynamic integration in multi-database systems. Journal of Database Management, 1996, 71) :28~40
    [34] Davis P T. Securing, Client/Server Computer Networks. New York: McGraw-Hill, 1996
    [35] Berson A et al. SYBASE and Client/Server Computing Technology (in Chinese). Beijing: Electronics Industry Press, 1995(Berson A et al.SYBASE与客户服务器计算技术.北京:电子工业出版社,1995)
    [36] Gu Ning,Lin Zongkai,Guo Yuchai.EDL/3:An engineering database language.Computer Research and Development(in Chinese),1996,33(8):599—607(顾宁,林宗楷,郭玉钗.工程数据库语言EDL/3.计算机研究与发展,1996,33(8):599-607)
    [37] Building Three-Tier Client-Server Business Solutions. New York: Microsoft TechNet, 1996
    [38] Edward Yourdon. Object-Oriented System Design, An Integrated Approach. Yourdon Press/Prentice Hall, 1994.
    [39] Tom DeMarco. Structured Analysis and System Specification. Prentice Hall, Englewood Cliffs, NJ., 1979
    [40] 汪成为,郑小军等,面向对象分析、设计及应用。国防工业出版社,1992
    [41] Netscape Corporation. The White Paper of Internet/Intranet Strategy. 1996
    [42] Kevin Cliements, ets, Inside ISAPI New Riders. 1997
    [43] Genesereth M R, Ketch S P. Software agents. Communications of the ACM, [J] 1994, 37 (7)
    [44] Cynthia McFall, IBM Corporation. An Object Infrastructure for Interact Middleware IBM on Component Broker. IEEE Internet Computing, 1998;2 (2)
    [45] 常煜芬,张育平,中间件技术研究,计算机应用研究,2001(10)
    [46] ITU/ISO. Reference Model of Open Distributed Processing-Partl:Overview. ISO/IEC 10746-1, ITU-T Rec. X901, 1996
    [47] (美)Dider Mattin等,X M L高级编程.李颉,等译.北京:机械工业出版社,2001.233-239.
    [48] (美)MICHAELMORRISON,et al.XML揭秘[M].陆新年,等译.北京:清华大学出版社,2001.286-307.
    [49] 李景春,王强,等.基于DOM的XML文档支持系统[J].南京大学学报(自科版),2000-09,5(36):569-570.
    [50] 胡朝晖.利用MSXML解析XML文本[EB/OL].http://softwareworld.com.cn/rj/2001-1/26.htm.
    [51] Lauren W, Arnaud L H, Vidur A, et al. Document Object Model (DOM) Level 1 Specification[EB/OL] http://www. w2. org/TR/REC-DOM-Level-1, 1998-10-04.
    [52] 戚克涛,胡涛,张申生 基于Java平台和XML开发Web应用,计算机工程,2002-1
    
    
    [53] Bill Mccarty.康博创作室译.使用Java进行SQL数据库程序设计[M].北京:中国水力水电出版社.
    [54] Michael D.Thomas,等.Java for Internet编程技术[M].北京:电子工业出版社,1999.
    [55] 姚晓春等.Java编程技术教程[M].北京:清华大学出版社,1999.
    [56] Sun Microsystems Inc. The Java language specification, 1. 0 ed. [EB/OL]. http:// java. sun. com/docs/books/, 1999-09-01/2001-04-25.
    [57] Java与XML的结合应用,李大成,陈莘萌,计算机应用,2002-2
    [58] Larsen G. Component-based Enterprise Frameworks. Communications of the ACM, 2000, 43 (10)
    [59] 谷长勇,徐志伟,褚兴军,XML结构和关系数据库的一种形式化映射,计算机工程,2001-11
    [60] 方翔,XML文档到关系数据库的直接转换,计算机工程,2001-11
    [61] (美) Brian C. Davies, et al, XML For Data Exchange[M]. Brincad Technologies Inc., 1999.
    [62] (美) Dan Harkey, Foreword by Robert Orfali. Client/Server Data Access With Java and XML[M]. Wiley, John&Sons, Incorporated, 1998.
    [63] Buneman Peter, Fan Wenfei, Simeon Jerome, et al. Constraints for semistructured data and XML[J]. SIGMOD Record, 2001, 30 (1) :4754.
    [64] Deutsch Alin, Fernandez Mary, Suciu Dan. Storing semistructured data with STORED[J]. SIGMOD Record, 1999, 28 (2) :43142.
    [65] Aries F Goldfarb, Paul Prescod. The XML Handbook[M]. Prentice Hall, Upper Saddle River, NJ07458, 1998. 3 18
    [66] 瞿裕忠.一个基于XML的数据交换原型系统[J].计算机工程,2000,26(9):35 37
    [67] Fernandez Mary, Tan Wang-Chiew, Suciu Dan. Silk Route: trading between relations and XML[J]. Computer Network, 2000, 33:723-745
    [68] W3C. Extensible Markup Language (XML) 1. 0 (Second Edition) W3C Recommendation 6 October 2000[DB/OL]. http://www. w3. org/TR/2000/REC-xml-20001006, 2000-10.
    [69] 董向辉.构建XML应用[EB/OL].http://www.XML. org.cn,2000-08
    [70] 王仲.XML数据存取技术概述[EB/OL].http://www.XML. net.cn,2000-08
    [71] Bass, L., Clements, P., Kazman, R. Software Architecture in Practice. Reading, MA: Addison-Wesley Publishing Com-pany, 1997.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700