节点文献
基于J2EE和MVC模式的Web应用研究
Research on Web Application Based on J2EE and MVC Mode
【作者】 刘继华;
【导师】 李腊元;
【作者基本信息】 武汉理工大学 , 计算机应用技术, 2003, 硕士
【摘要】 近年来,电子商务这一新型商务模式已得到世界各国的普遍关注,它不仅仅是Internet在商务领域的简单应用,更是一种新型的商务模式。它的推广彻底改变了传统的旧的商务模式,引发一场新经济革命。电子商务的发展对传统的Web技术提出了强有力的挑战。由于电子商务的内部逻辑复杂,安全性要求苛刻,商务形式发展变化快,这就要求Web技术提供足够的复杂度和灵活性以适应电子商务的需求。 MVC(Model-View-Control)模型-视图-控制器的模式是Xerox PARC在八十年代为编程语言Smalltalk—80提出的一种设计模式。MVC模式在理论上实现了业务逻辑与界面显示的分离,它的提出对Web的应用开发具有重要意义。J2EE(Java2 Enterprise Edition)是Sun公司1999年推出的基于Java的一整套企业应用开发标准和规范,具有跨平台的互操作性、可扩展性、安全性好等特点,迅速得到了业界的广泛支持。JSP技术是基于Java语言的,由Sun公司开发的一个动态Web技术标准,同样有着良好的跨平台能力和安全性能。以MVC模式进行JSP/Servlet+EJB的Web应用开发,在构建电子商务方面有着得天独厚的优势。 本论文介绍了MVC模式的软件开发思想,着重阐述了J2EE和MVC模式的结合,提出了一种基于J2EE和MVC模式的企业级应用开发方法,且以该方法实现一个虚拟的在线电子商务书市系统为例,来具体阐述其开发的具体步骤和技术细节。该系统具有设计清晰、模块性强等特点,有着良好的可扩展性和伸缩性。 本论文的第一章绪论介绍了本课题的意义和国内外Web应用研究的发展动态。第二章介绍了软件开发的C/S和B/S两种体系结构和MVC设计模式的概况,并进行了比较和分析。第三章对J2EE和MVC模式的Web开发方法进行了深入的探讨,也是本论文的重点,在对J2EE关键技术JSP、Servlet、EJB等进行具体阐述和分析的基础上,提出了一种基于J2EE和MVC模式的企业级应用开发方法。第四章是前一章的开发方法在一个在线电子商务书市系统中的具体实现,包括系统的设计和系统的软件开发。第五章是该书市系统的集成与运行,重点是Web服务器和EJB服务器的配置与部署。最后一章是对全文研究工作的总结,阐述了系统优化设计策略武汉理工大学硕士学位论文的实施和关键问题的解决,并指出了系统需要改进的方向。 本文的研究工作可供电子商务的应用开发等同类研究参考,本课题的研究得到了湖北省自然科学基金资助(批准号:200OJ154)。
【Abstract】 Recently, Electronic Commerce has already been generally interested by the whole world. It is not only a simple application in commerce fields, but also a kind of new commerce mode. Its expansibility completely changes the traditional commerce mode and brings about a new economy revolutionary. The development of Electronic Commerce has become a great challenge to the traditional web technologies. As Electronic Commerce is such a system with much complexity in inside logic and constant variety in commerce forms, it requires web technologies to possess enough complexity and flexibility to meet the demands of Electronic Commerce.MVC(ModeI-View-Control), as a design pattern, was proposed by Xerox PARC for Smalltalk-80 in 1980’s. It realizes the separation of logic layers and view layers in theory, which is very important to web application developing. J2EE (Java2 Enterprise Edition) standard, founded by Sun Microsystems in 1999, contains a whole suit of standards and criterions for enterprise level application. It has many virtues, such as independence of platform, easy expansibility and good security, which make it very popular in IT industry. JSP, a standard of dynamic web technology, developed by Sun Microsystems, also has excellent competence in platform independence, good security, etc. Developing of web application based on JSP, Servlet and EJB in MVC design pattern has great superiorities in the constructions of Electronic Commerce.This paper introduces idea of MVC pattern, emphases the combination of J2EE and MVC pattern, and provides a kind of method for developing enterprise level application based on J2EE and MVC. It realizes a system of a virtual online bookstore and discusses developing steps and related technologies in details. The system has many characteristics, such as clearness in designation, effect in modularity, easiness in expansibility and so on.The first chapter is the exordium, which introduces the signification of the study and the current tendency of web application research in the world. The 2nd chapter introduces C/S and B/S system constructions of softwaredeveloping, and the outline of MVC pattern. The 3rd chapter, as the important part of this paper, thoroughly discusses the web developing method based on J2EE and MVC pattern. In the foundation of explaining and analyzing key technologies in details, such as JSP, Servlet, EJB, it provides a kind of method for developing enterprise level application based on J2EE and MVC pattern. The 4th chapter realizes a system of a virtual online bookstore and discusses the system designation and software developing. The 5th chapter shows integrating and running of the system, and emphasizes the configuration and deployment of web server and EJB server. The last chapter summarizes the implementation of perfect designation and the solution of key problems, and points out the direction in system promotions.It is a beneficial reference to similar research on Electronic Commerce. The study is supported by Nature Science Foundation of HuBei Province (2000J154)
- 【网络出版投稿人】 武汉理工大学 【网络出版年期】2003年 03期
- 【分类号】TP311.52
- 【被引频次】109
- 【下载频次】1182