用户名: 密码: 验证码:
基于JAVA的MVC模型框架研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
本文对设计大型企业网站的模型框架进行了研究。通过对已有成果的研究和文献资料的收集整理,我理清了基于Java开发网站的技术、模型框架的设计原理和思想,并对各种框架设计的优点和不足进行了分析比较。本文着重进行了以下的研究和设计工作:结合企业系统的结构特点,详细分析了J2EE的多层体系结构模型和核心技术,并总结出基于J2EE平台进行开发和部署企业应用系统的方案;对传统的网站开发技术进行了比较分析,采用框架的思想,设计面向整个Web开发的系统框架模型;对struts框架,一种实现了MVC模型思想的框架,进行了整体结构分析;在参照struts基础上,根据实际应用的要求,并结合长期进行网站开发的经验,最终设计出Webpump的整体框架结构;在文章最后,通过一个利用Webpump开发的实际应用,综合分析了Webpump框架如何在服务器端响应客户请求,并进行相应的数据库访问、画面数据传递、出错处理等方面的设计原理。利用Webpump框架进行网站的开发,可以在保证系统质量的前提下,提高项目开发的进度,增强系统的健壮性、灵活性和可扩展性,并尽可能的提供软件复用。
This paper focuses on the research of the key technologies used in the web development based on framework. By the experiences that accumulated in the last development years and through the investigations of existent research results and documents, we have grasped the design principles and spirit of model framework and are familiar with the develop techologies, and also have done the analyse and comparison work on the merits and faults of each design of framework. The main work are following: Based on the sufficient investigation on the multilayer structure of J2EE, a blue print on how to develop and deploy enterprise application system, is presented; On the basis of the research work on the struts, an open-source of MVC implementation, and according to the requirement of the project, a new framework model, webpump, is designed. In the last chapter, an overall architecture and every functional module design of webpump are presented. By using the webpump in our project, it not only can insure the project's quality,but also can build up the system's toughness, flexibility and extendibility.
引文
[1]Erich Gamma等,设计模式[M],机械工业出版社2000.
    [2]Bruce Eckel等,Java编程思想,机械工业出版社1999.
    [3]Sun Microsystem Inc. Java 2 Platform Enterprise Edition specification version (this specifiction). Available at http://java.sun.com/j2ee/docs.html.
    [4]Sun Microsystem Inc. Java 2 Platform Enterprise Edition Technical Overview (J2EE overview). Available at http://java.sun.com/j2ee/white.html.
    [5]Sun Microsystem Inc. Enterprise Javabean Specification, Verspedf (EJB specifiction). Available at http://java.sun.com/products/ejb.
    [6]Coward D. Java Servlet Specification Version 2.3. Sun Microsystem,2001.
    [7]Hunter J. Filter code with Servlet 2.3 model. Javaworld, 2001; 25.
    [8][美]OMG著.CORBA系统结构、原理与规范.电子工业出版社,2000.
    [9][美]Michi Henning Steve vinoski著,徐金梧译.基于C++的CORBA高级编程.清华大学出版社,2000.
    [10]Van der Hoek. Configurable software architecture in support of configuration management and software deployment. In ICSE'99, Los Angeles, CA, 1999.
    [11]Java Remote Method Invocation Specification, JDK 1.3 1999. http://java.sun.com.
    [12]Extensible Markup Language. http://www.w3.org/TR.
    [13]卢孟余等.web对象模型及在多层结构Web开发中的应用.计算机工程,1999(12).
    [14]陈滢等。DBMS Web支撑框架的研究。计算机研究与发展,1998(6).
    [15]李方敏等.在协同环境下用Java访问分布式数据库,计算机应用,1998(2).
    [16]java编程思想.京京工作室译.北京:机械工业出版社,1999.
    [17]Ralph E. Johnson. Frameworks = Component + pattern. Communication of ACM, 1997, 40(10), 39-42.
    [18]Mary Shaw, David Garlan. Software Architecture-Perspectives on an Emerging Displine. Beijing:Tsinghua University Press, 1998.
    [19]Tommi mikkonen. Formalizing Design Pattern. In: Bob 20th International Conference On Software Engineering, Werner: IEEE Compiter Society, 1998.115-125.
    [20]Anton Eliens. Vrije University, Amsterdam. Principles of Object-Oriented Software Development Addsion-Wesley Publishing Company.
    [21]Bryan Flaming. Practical Algorithms in C++ John Wiley & Sons, Inc. 1995.
    
    
    [22]OMG. The Common Object Request Broker:Architecture and Specification. http://www.omg.org/corba/corbaiiop.html, 1999-06.
    [23]何新,沈炼官。Web分布式开发模式DNA的探讨.计算机应用研究,2000,17(8):33-35.
    [24]Daniel J Berg.Advanced Techniques for Java Developers.USA:Jon Wiley&Sons, Inc. 1998.
    [25]Microsoft.分布式应用开发。北京:北京大学出版社,2000.
    [26]李炽明.等.基于Java技术的web环境下分布式数据库互操作性的实现.计算机系统应用.1998[12];26.
    [27]肖平.等.基于web技术的办公信息系统.计算机工程与应用.1998[6],20.
    [28]王克宏主编.Java语言SQL接口.清华大学出版社,1997.
    [29]David Topping. IBM Database Server white paper. IBM Corpation, 1996.
    [30]汪芸.CORBA技术及其应用.南京:东南大学出版社,1999.
    [31]张移山,CGI程序设计指南.北京:中国水利水电出版社,1998-07.
    [32]翟有利,等.B/S模式应用系统的一种新型结构及其实现[J].计算机应用研究,2000、(6):56—58.
    [33]唐韶华.Java小程序的授权访问研究[J].计算机工程与应用,2000.36(12):9~11.
    [34]曹元大.岳治宇.基于Servlet的web数据库接口系统的设计与实现[J].北京理工大学学报,2000,20(4):454.
    [35][美]Joseph,Weber.Java2编程详解.卜照斌、段来盛,赖伶等译.北京:电子工业出版社,1999.
    [36]Denial Jackson and Michael Jackson. Problem Decomposition for reuse. Software Engineering Journal, January 1996.
    [37]Reberto Bellinzona, Politecnico di Milano. Reusing Specification in OO Application. IEEE Software March 1995, 65~74.
    [38]Novak GS, Hill FN, Wan Metal. Negotiated interface for software reuse. IEEE Trans. on SE, July 1992,18(7)
    [39]Johnson P, Rees C. Reusability through fine-grain inheritance, Software Engineering Journal, September 1992.
    [40]张龙样.UML与系统分析设计.人民邮电出版.北京:2000(8).
    [41]Mark Priestley.Practical.Object-Oriented Design with UML.McGraw-Hill.清华大学出版社.北京:2000(12).
    [42]EBA System, Inc. EBA Weblogic server enterprise JavaBeans document. http://www.weblo gic.com, 2002.
    [43]Mark Johnson.A Beginner's Guide to Enterprise JavaBeans, JavaWorld, 1998.10
    [44]Richard Monson-Haefel, Create forward-compatible beans in EJB, JavaWorld, 2000.
    
    
    [45]Vlada Matena Beth Stearns,J2ee平台上的EJB组件开发,机械工业出版社,2002.
    [46]Chuck Cavaness Brian Keeton,EJB 2.0企业级应用程序开发,机械工业出版社,2002.
    [47]Paul J.Perrone,et al.张志伟 谭郁松 张明杰译,J2EE构建企业系统,清华大学出版社,2001.
    [48]龚永生,当前流行的J2EE WEB应用架构分析,IBM开发者网站.
    [49]Malcolm G.Davis,Struts,MVC的一种开放源码实现用这种Servlet和JSP框架管理复杂的大型网站,IBM开发者网站.
    [50]Alan Shalloway and James R. Trott, Design Patterns Explained: A New Perspective on Object-Oriented Design.

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

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

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