节点文献
基于EJB组件模型的应用体系结构的设计与实现
The Design and Realization of EJB-Based Application Architecture
【作者】 康宏;
【导师】 沈西挺;
【作者基本信息】 河北工业大学 , 计算机应用技术, 2002, 硕士
【摘要】 自20世纪90年代以来,特别是WEB及相关技术,如JAVA的发展,计算机原有的体系结构也从两层的C/S结构发展到现在的三层C/S结构,并逐渐形成流行的J2EE应用体系结构。而基于EJB组件的三层次体系结构是J2EE应用体系结构的重要组成部分。 本文研究基于EJB组件模型的三层次客户服务器结构的设计与实现,并且在开发过程中引入了源于MVC三部件框架的设计模式,实现了应用中表现逻辑与业务逻辑的分离。同时引入了FACADE模型封装了代表数据模式的EJB,改善了数据存取的性能。此外本文还讨论了如何在一个系统中利用不同的EJB服务器集成异构的数据源,以及如何利用两阶段提交实现分布式异构数据库的数据更新。本文以一个公司的销售管理业务流程实现为例子,利用UML进行系统分析与建模,通过SERVLET访问应用服务器中的EJB业务组件,并利用JSP实坝表现层。本文着重讨论了以CMP方式部署EJB组件,以及实现分布式数据库的数据更新的方法和优势。 本课题选用IBM公司的webSphere应用服务器为EJB的部署平台,以VisualAgeforJava为开发工具,实现了以EJB组件模型为基础的三层次客户服务器应用。
【Abstract】 Since 1990s,whh the development of web and related technologies such as Java technolog, the original computer an hecturehasdewtopedfiom 24edC/Sarcnitecturetothe 3-tiedC/S architecture, and been realizing the popular J2EE application architecture. The EJB-Based 3-tied architecture is one important part of J2EE application architecture.This paper focuses on the design and realization of EJB-Based 3-tied C/S structure, and the design model based on the MVC frame is applied in the system development, so that the separation between the present tog^ arnd the business logic in the application is realized In order to improve the performance of data storing and taking, we introduce the FACADE model to encapsulate the EJBs which delegate the data model In addition, how to integrate heterogeneous sources with different EJB servers and how to update the distributed heterogeneous sources with DTP piocess are discussed in this paper. An example of realizing a company’s sale-management procedure is demonstrated in this paper, this project is designed by UML, the EJB business components in the application server are visited by a client and system’s present layer is realized by the JSPs. This paper concentrates on the ways and advantages of deploying the EJBs by CMP and realizing the update of the distributed heterogeneous sources.WebSphere application server of IBM Corporation is chosen as the deployed platform. The 3-tied C/S application based on the EIBs is realized with the VisualAge for Java
- 【网络出版投稿人】 河北工业大学 【网络出版年期】2002年 02期
- 【分类号】TP311.52
- 【被引频次】4
- 【下载频次】132