基于SOA架构的网络考试系统的研究与实现
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
SOA是一种面向服务的架构方法,与传统的面向对象和基于构件的软件开发方法相比,SOA具有服务共享、基于标准等特点。随着软件技术的发展,尤其是Web服务的出现,SOA架构技术正得到广泛的应用。
     网络考试系统是一种常用的计算机教育应用系统,它可以合理利用考试资源、提高教学效率。目前国内的网络考试系统多是面向应用的,存在重复开发、资源共享性差等问题。
     本文描述了如何采用面向服务的设计方法,实现一个松散耦合的网络考试系统。概括起来,论文的主要研究工作有:
     1.网络考试系统需求分析
     本文给出了基于网络的考试系统需求分析,并结合系统中“考务管理子系统”的具体应用,在遵循SOA架构和各层次模式的基础上对其进行了详细的分析和设计。同时,对其分析过程、用例建模、静态结构以及动态行为模型进行了具体说明。
     2.基于SOA的网络考试系统的设计
     结合基于SOA的网络考试系统的开发实例,本文提出了设计系统时可参照的划分结构层次的方法,并抽象出各层次设计实现时所应遵循的模式。提出了在服务层使用Web Service Interface以使较细粒度的Web服务只集中在应用程序内部;提出了在服务组件层中引入Session Facade作为会话门面。
     3.系统实现的关键技术的研究
     根据之前提出的系统需求和设计,本文讨论了基于SOA的网络考试系统实现过程中的一些关键技术。包括Session Facade的生成;使用JAX-RPC将EJB封装成Web服务;使用WSDL对Web服务进行规范化描述;使用BPEL4WS描述Web服务流程等。
SOA is a development method of Service-Oriented Architecture. Compared with the traditional development methods such as Object-Oriented programming and the technology based on the component, SOA has many advantages, such as services-sharing and standards-based, and so on. With the development of the software technology and the appearance of the Web Service, SOA will be applied more and more widely.
     Internet based exam system is a popular CAE soft, which could take advantage of education resources reasonably and improve the teaching efficiency. Currently, all the design approaches used for the internet based exam system are Application -Oriented. Therefore, some problems exist such as repetition development or non-sharing resources.
     The thesis described how to design and implement a loosely coupled internet based exam system using Service-Oriented Architecture. The mainly works of the thesis focus on the following aspects:
     1. Requirement analysis of the internet based exam system using SOA
     The thesis proposed the requirements of the internet based exam system. Combined with the application of the "exam affair management sub-system" in the internet based exam system, the thesis described its analysis and design Based on patterns of each hierarchy and structure of SOA. Meanwhile, it elaborated analysis process, use case modeling, static structure and dynamic action model of the system.
     2. Design of the internet based exam system using SOA
     Combining with the instance of the internet based exam system using SOA, The thesis proposed the method used to divide the structure hierarchies when a system is designed and described some design patterns used to implement the design. The thesis put forward a Web Service Interface, which is used in service layer, to integrate the Web services with the fine granularity into the inside of program. In addition, the thesis proposed that Session Facade should be used in the service component layer.
     3. Research of the key technologies in the system's implementation
     According to the analysis and design, the thesis discussed the key technologies of the implementation for the internet based exam system using SOA in detail. Such as the implementation process of a Session Facade, encapsulating EJB services into the Web services with JAX-RPC, describing the Web Services in standardization with WSDL and describing the Web Service business process with BPEL4WS.
引文
[1]房鼎益.一个基于SOA的大型分布式计算机辅助教学系统[J].计算机应用与软件,Vol.22.No.10 Oct.2005.
    [2]Mark Endrei,Jenny Ang,Ali Arsanjani,Sook Chua,Philippe Comte,Pal Krogdahl,Min Luo,Tony Newling.Patterns:Service-Oriented Architecture and Web Services[J].2004.
    [3]董文炜.基于SOA的分布式Web应用系统的研究[D].西北工业大学硕士学位论文,2007.
    [4]王新耀.计算机课程无纸化网络考试系统的设计与实现[D].四川大学硕士学位论文,2005.
    [5]陆峰.网络考试系统及Web服务与实现[D].华中师范大学硕士专业学位论文,2007.
    [6]王心慧.在线考试系统的设计与实现[D].哈尔滨工程大学硕士专业学位论文,2007.
    [7]魏东.基于SOA体系结构软件开发的研究与实现[D].西安:西北大学,2005.
    [8]http://www-128.ibm.com/developerworks/cn/webservices/newto/.IBM vision of Service Oriented Architectures.
    [9]Charles F Goldfard.XML用户手册[M].北京:人民邮电出版社,2000.
    [10]New to SOA and Web Services.Available at:http://www-900.ibm.com/developerWorks/cn/webservices/newto/websvc.shtml;2004.
    [11]BEA Inc.SOA-软件架构新超越[J].dev2dev专刊,2004.
    [12]陈敏.SOA进步还是革命[J].计算机世界报第18期B6、B7 Available at:http://www2.ccw.com.cn/04/0418/b/0418b58_3.asp
    [13]Anura Guruge.Web Services:Theory and Practice[M].2004
    [14]熊光彩.基于Web Services的敏捷供应链管理系统研究[J].西安:西北工业大学,2002.
    [15]SOAP Version 1.2 Working Draft.Available at:http://dev.csdn.net/article/6/6763.shtm;July 2001.
    [16]柴晓路.理解XML Schema:XML Schema初步(I).Available at:http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/;2 Dec 2001.
    [17]P.Cauldwell etc.Professional XML Web Services.Birmingham,UK:Wrox;2000.
    [18]E.Whitehead,M.Murata.IETF "RFC 2376:XML Media Types".Available at:http://www.hackhome.com/InfoView/Article_127750.html.July 1998.
    [19]Martin Brown.使用Web服务标准构建网格.第2部分:结构和核心组件.Available at:http://www-106.ibm.com/developerworks/library/ws-intwsdl.2006.
    [20]B.Siddiqui.Deploying Web Services with WSDL:Part 1,Introduction to Web Services and WSDL.Available at:http://www-106.ibm.com/developerworks/library/ws-intwsdl,2001.
    [21]Nicholas Chase.了解Web服务规范,第3部分:统一描述、发现和集成(UDDI).Available at:https://www6.software.ibm.com/developerworks/cn/education/webservices/ws-understand-web-services3/index.html.Nov 2006.
    [22]Schmitz,Peter.发布服务:UDDI.Available at:http://www.ibm.com/developer works/cn/views/webservices/tutorials.jsp?cv_doc_id=85042.Sep 2003.
    [23]Russell Butek.etc.Web服务提示与技巧:JAX-RPC与JAX-WS的比较.Available at:http://www.ibm.com/developerworks/cn/webservices/ws-tip-jaxwsrpc5/index.html.2008
    [24]CT Arrington.Enterprise Java with UML[M].北京:机械工业出版社,2003.
    [25]蒋慧.吴礼发等.标准建模语言UML教程[M].北京希望电子出版社,2001
    [26]冀震燕.UML系统分析设计与应用案例[M].北京:人民邮电出版社,2004.
    [27]丁勇.基于J2EEUML的企业建模系统的研究[D]:浙江大学硕士学位论文,2003.
    [28]Gray Craig,Peter Jakab著,张云涛,龚玲,张燕译.IBM Websphere Studio Web应用开发[M].北京:电子工业出版社,2004.
    [29]Erich Gamma,Richard Helm,Ralph Johnson,John Vlissides.Design Patterns:Elements of Reusable Object-Oriented Software[M].北京:机械工业出版社,2002.
    [30]Howard Kushner.Developing J2EE Application with IBM Websphere Studio[J]:MC Press,2003.
    [31]Rick Robinson.理解面向服务的架构中企业服务总线场景和解决方案[J].2004.
    [32]Martin Keen,Amit Acharya,Susan Bishop,Alan Hopkins,Sven Milinski,Chris Nott,Rick Robinson,Jonathan Adams,Paul erschueren.Patterns:Implementing an SOA Using an Enterprise Service Bus[J].July 2004.
    [33]Naveen Balani.使用J2EE设计面向服务的架构框架.Available at:http://www-900.ibm.com/developerWorks/cn/webservices/ws-designsoa/index.shtml.2004
    [34]毛新生.SOA原理.方法.实践[M].北京:电子工业出版社,2007
    [35]何致亿.SCWCD认证专家应考指南[M].北京:电子工业出版社,2004.
    [36]Craig Larman.UML和模式应用:面向对象分析与设计导论[M]:机械工业出版社,2002
    [37]Deepak Alur,John Crupi,Dan Malks.Core J2EE Patterns:Best Practices and Design Strategies,Second Edition:Pearson Education Inc.2003.
    [38]Eric Newcomer.Greg lomow.Understanding SOA with Web Service[M].北京:电子工业出版社,2007
    [39]Sun MicroSystem Inc..Enterprise Java Beans(EJB).Available at:http://java.sun.com/prod-ucts/ejb/.
    [40]Ed Roman.精通EJB(第二版)[M].北京:电子工业出版社,2004.
    [41]冯庆华.基于JAX-RPC的Web服务应用技术研究[D]:南京理工大学,2004.
    [42] Benfield S.Web Services:The Power to Change the World?[J]. Web Services Journal, Jan 2002.
    [43] Jay Foster, Mick Porter. Developing Web Services With Java APIs for XML Using WSDP[M]: Syngress Publishing,Inc, 2002.