节点文献
基于J2EE轻量级架构的WEB开发及应用
WEB Development and Application Based on Light Weight J2EE Architecture
【作者】 杨俊;
【导师】 钟珞;
【作者基本信息】 武汉理工大学 , 计算机应用技术, 2008, 硕士
【摘要】 课题“基于J2EE轻量级架构的WEB开发及应用”是根据“武汉市舵落口大市场办公自动化系统”项目,基于WEB平台,使用轻量级架构体系提高用户交互性、使用安全性,进一步提高系统实用性,单位办公效率。J2EE平台已经日趋成熟,具有高可靠性,跨平台可移植性,开源代码库的可用性等优点,越来越多的开发人员使用基于J2EE的WEB应用框架。然而传统的EJB架构为核心的J2EE架构方案得到的结果常常无法让人满意,过于复杂的应用程序,难以测试,开发和维护成本高昂。因此,如何构造一个既能够响应大量的客户端用户,又能够安全稳定地运行,同时功能强大,应用灵活,开发简便的WEB应用系统是当前Internet技术发展的热点之一。于是,该如何选取适合应用需求的框架技术,如何将它们松散藕合起来,以及如何做一些适当的扩展,形成一个符合J2EE标准但并非以EJB为核心的轻量级WEB应用通用架构具有重要的现实意义。本文主要做了以下几项工作:(1)本文首先研究了J2EE的基本知识,然后进一步分析了J2EE层次结构,研究了当前J2EE WEB应用中的几种体系架构,比较了轻量级框架相对于EJB框架的优劣势,分析了轻量级框架体系的构建,介绍了MVC、Struts、Hibernate、Spring等核心知识。(2)结合WEB的开发应用研究探讨了轻量级架构体系。针对基于J2EE轻量级架构的WEB开发和应用,结合当前的J2EE架构发展趋势,分析了轻量级的实现,对基于J2EE的WEB模式进行了分析比较。(3)介绍了“武汉市舵落口大市场办公自动化系统”概要设计。(4)介绍了“武汉市舵落口大市场办公自动化系统”主要界面。(5)结合作者在办公自动化系统所做的主要工作,然后分析探讨了以Spring框架为核心,整合Hibernte持久化框架的J2EE轻量级开发架构,并以此轻量级开发架构为基础,以项目中在数据库中添加用户为例,介绍了如何在表现层,业务逻辑层,数据持久化层的设计和实现。
【Abstract】 The subject called "Web Development and Application Based on Lightweight J2EE Architecture" comes from the Project of Wuhan Duoluokou Super Market Office Automation System. It is based on the WEB platform, uses the Lightweight Architecture System to improve the user interaction, the security and further enhances the system practicality and the office efficiency.J2EE platform is nearly mature, and has many advantages, such as the higher reliability, the cross-platform portability, the availability of the open-source code and so on. Then, more and more developers use the WEB framework based on J2EE. However the results produced by the solution of J2EE architecture as the core of the traditional EJB architecture are often unsatisfied because of the more complicated programs, the difficulty to test, and the cost of the development and maintenance. Therefore, how to construct the WEB application system, which not only responds to a large number of client users but also enables the system to run safely and stably, meanwhile has the powerful functions, flexible application and the agile development; is one of the hot spots in the technology development of Internet at present. Then, how to select the framework technology suitable for the demands of the application, how to assemble them loosely and how to do some proper extensions to form the lightweight general architecture of the WEB application with J2EE standard but not as the core of EJB, have become very significant.The main work of the thesis is as following:(1) The thesis first researches the basic knowledge of J2EE, analyzes the hierarchical structure of J2EE, and studies the several architecture of the current WEB application and compares the advantages and disadvantages of the lightweight framework with the EJB framework, and analyzes how to construct the architecture of the lightweight framework and introduces the core knowledge on MVC, Struts, Hibernate, Spring and so on.(2) According to the WEB development application, the thesis discusses the lightweight architecture system. And for the WEB development and application based on the lightweight J2EE architecture and the current trend of the J2EE architecture development, the thesis analyzes the lightweight realization and compares with WEB models based on J2EE.(3) The outline design on Wuhan Duoluokou Super Market Office Automation System is introduced.(4) The main interface on Wuhan Duoluokou Super Market Office Automation System is introduced.(5) According to the authors main work in the Office Automation System, the thesis then analyzes and discusses the J2EE lightweight development architecture that is as the core of Spring framework and integrates the persistent framework of Hibernate, and introduces how to design and realize the presentation layer, the business logic layer and the data persistence layer based on this framework by adding new users to the database in the project as an example.
【Key words】 Office Automation System; Frameworks; MVC; J2EE lightweight framework;
- 【网络出版投稿人】 武汉理工大学 【网络出版年期】2008年 09期
- 【分类号】TP311.52
- 【被引频次】23
- 【下载频次】288