软件构件技术在在线考试系统中的研究与应用
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
随着软件开发规模和复杂性不断提高,随着社会对软件开发速度和数量要求不断提高,“软件危机”愈加明显的暴露出来,提高软件生产率成为软件产业当务之急。为了克服“软件危机”,人们提出了软件复用思想并对其进行了不懈的研究。软件构件技术被认为是解决软件危机,提高软件生产率和软件质量,增强软件开发性和对外部扰动适应性的主要途径。
     同时,随着网络技术的发展,更多的考试正从传统的笔纸考试向基于Web的在线考试转变。这种考试形式不但减轻了教师的负担而且还提高了工作效率。因此,学校、公司、网站对考试系统软件需求的呼声越来越高。
     基于以上两方面原因,本文提出将软件构件技术引入到在线考试系统的开发中,以实现考试系统软件的工业化生产。首先,本文探讨了软件构件技术的相关概念及基于软件构件技术的软件开发方法,并对目前三种主流的构件模型进行介绍和比较,总结出EJB构件模型的优势。其次,采用基于UML技术的构件抽取方法和构件抽取策略,通过建立系统用例图和序列图对系统流程和功能进行分析,在此基础上,对系统进行构件抽取,建立系统各部分功能的构件模型。再对已抽取的构件进行分析和调整。最后,采用EJB技术实现抽取好的构件,并探讨构件的组装问题。
With the increase of software development scale and complexity,as well as the boost to the need of software development speed and quantity,sofeware crisis has been exposed increasing.It's emergency to increase the efficiency of software.To conquer software crisis,theory of software reuse is presented and has been under study. The technology based on software components is considered as the main measure to solve software crisis,improve software productivity efficiency and software quality,and enhance the adaptability to outside noise.
     With the development of network,the author has discovered that more examinations in paper have convert to on computers.This kind examination not only reduce the burden of teacher but also increase working efficiency.So the needs of schools,companies and network stations for examing system software are more and more.
     Based on the two factors above,in order to realize the industrialization of examing system,author hopes that reuse technology on the basis of software component is introduced to the design and development of examing system through the study on software component and relating technologies.First,this paper discusses software component technology and software development method based on it,then introduces three main-stream software component models and draws comparisons in them.Second,after analyzing system requirement and studying UML modeling technology,it proposes component extracting method and strategy based on UML technology. By analying examing system in use of use case diagrams and sequence diagrams, extracts components and constructs component models of function of all parts of the system. Then analyzes and regulates the components.Last,realizes the components by use of EJB,then discusses the organization and test of them.
引文
[1]李延春,晏敏.软件构件技术的现状和为来.计算机工程与应用,2003;31,86-93,96.
    [2]杨芙清,王千祥,梅宏,陈兆良.基于复用的软件生产技术.中国科学,2001,8(31);363-371.
    [3]杨芙清,梅宏,李克勤.软件复用与软件构件技术.电子学报,1999,2(27);51,68-75.
    [4]李光.基于构件的软件开发方法在领域应用中的研究与实现;(硕士学位论文).贵州;贵州大学,2006.
    [5]王向阳.试论软件重用.计算机研究与发展,1993(90);59-63.
    [6]Alan W.Brown著.赵云耘,张志等译.大规模基于构件的软件开发.北京;机械工业出版社,2003.
    [7]顾明等.构件类和构件的概念及其定义语言与操作语言.软件学报,1997,9.
    [8]郑样华.基于软件构件的教务管理系统构造研究;(硕士学位论文).济南;山东师范大学,2006.
    [9]郑震坤.构件平台的凋用技术及其应用的研究;(硕士学何论文).北京;清华大学,2005.
    [10]王映辉,冯德民.大规模软件构架技术.北京;科学出版社,2003.
    [11]王清心.基于二次同溯算法的计算机技能考试实现技术.计算机应用,2003(5).
    [12]陶进.基于业务总线的系统的设计与实现;(硕士学位论文).昆明;昆明理工大学,2002.
    [13]欧阳昆祺.基于CORBA和UML构建现代企业信息系统的工程化研究;(硕士学位论文).南京;南京航空航天大学,2003.
    [14]李玉蓉.基于软件构件技术的ERP系统的应用研究与设计;(硕士学位论文).中北大学,2006.
    [15]翼振燕.UML系统分析设计与应用案例.北京;人民邮电出版社,2003.
    [16]闵道辉,李强,赵正文.基于UML的软件构件技术.西南民族大学学报自然科学版,2005,31(3);452-455.
    [17]周珂,李子丰.基于UML构件分析的软件复用技术.航空计算技术,2004,34(2);51-53.
    [18]温泉彻,马智峰.UML及其在构件抽取中的应用.湛江师范学院学报,2004,25(6);111-114.
    [19]张亮.数字视频远程控制.现代通信,2001(10);23-24.
    [20]刘从越.利用UML获取功能需求的方法.计算机应用研究,2002,19(8);88.
    [21]Brooth G,Rumbau GHJ,Jacobson I.The unified modeling language user guide.http;//www.rational.com/uml,2001
    [22]徐玮,尹宝林,李昭原.企业信息系统业务构件设计研究.软件学报,2003,14(7);1213-1220.
    [23]Herzum P,Sims O.Business Component Factory.New York;John Wiley&Son,Inc,1999;425-520.
    [24]Ganesan R,Sengupta S.02BC;A technique for the design of component-based apllication.In;Proceedings of 39th Internations Conference.Takamatsu;IEEE Computer Society Press,1998;54-63.
    [25]高志刚.非成熟领域中业务构件抽取方法的研究与应用;(硕士学位论文).河北大学,2004.
    [26]Rima Patel Sriganesh,Gerald Brose著.罗时飞译.精通EJB.北京;电子工业出版社,2005.
    [27]Ian Sommerville.Software Engineering.[M].Seventh Edition.北京;机械工业出版社,2004.
    [28]He Jifeng,Liu Zhiming,Li Xiaoshan.Component Calculus.[R].Macau;The United Nations University,2003.
    [29]班书吴.EJB企业应用与开发实例.北京;北京科海电子出版社,2003.
    [30]孙惠民.UML设计实作宝典.北京;中国铁道出版社,2003.
    [31]Hans-Erik Eriksson,Magnus Penker著.夏昕,何克清译.UME业务建模.北京;机械工业出版社,2004.
    [32]飞思科技产品研发中心.EJB应用开发详解.北京;电子工业出版社,2002.
    [33]http;//www.sstc.org.cn/Tech/Articles.aspx?4607
    [34]Ivica Crnkovic,Component-based Software Engineering;Builing Reliable Component-based Systems Artech House,2002,7.
    [35]朱建江,基于软件构件的软件复用的研究;(博士学位论文).南京;南京航空航天大学,2001.
    [36]童恒庆,聂会琴,李锡喆.CORBA/COM/EJB三种组件模型的分析与比较.计算机应用研究,2004.
    [37]杨芙清.构什技术引领软件开发新潮流.北京大学软件工程国家工程研究中心,2005.
    [38]张世琨,张文娟,常欣,王立福,杨芙清.基于软件体系结构的可复用构件制作和组装.软件学报,2001,12(9);1351-1359.
    [39]Sinan Si Alhir著.常晓波译.UML技术手册.北京;中国电力出版社,2002.
    [40]梅宏.软件工程实践者的研究方法.北京;中国机械工业出版社,2002.
    [41]Khawar Zaman Ahmed,Cary E.Umrysh著.康博译.用J2EE和UML开发Java企业级应用程序.北京;清华大学出版社,2002.
    [42]陈光浩,许满武.构筑更灵活的中间件.计算机应用研究,2001,5;67-70.
    [43]Pearl Brereton,David Budgen.Component-Based Systems;A Classification of Issues.IEEE Computer,2000.
    [44]张友生.软件体系结构.北京;清华大学出版社,2004.
    [45]冯冲,江贺,冯静芳.软件体系结构理论与实践.北京;人民邮电出版社,2004.