节点文献
分布式应用环境下层模式研究
Study on Layer Pattern under Distributed Application Environment
【作者】 张勇;
【导师】 陈传波;
【作者基本信息】 华中科技大学 , 计算机应用技术, 2004, 硕士
【摘要】 随着信息技术的迅猛发展,基于Internet的分布式应用系统日趋复杂,其体系结构的设计也变得困难起来,一个差的体系结构往往导致整个软件性能的低下。层模式对于构建复杂的能分解成子任务的应用很有帮助,其中每个子任务组处于一个特定的抽象层上。在.NET框架下可以更加方便的应用层模式构建基于Web的企业应用系统。随着Web Services技术的更加成熟,企业需要向其它合作伙伴公开提供自己的服务,并能把合作伙伴提供的服务集成到自己的应用程序中来。为了适应企业的这种面向服务的需要,提出了三层服务应用模式,它是通过将与服务相关的职责添加到三层应用模式中的每一层而扩展来的。将应用程序逻辑分解为一组协作服务,每种服务提供整体系统功能的一部分。在业务层为每个服务表示一个服务接口,该服务接口是独立于基础实现的。扩展数据访问层,以便使用服务网关与其它服务提供程序通信。如果应用程序导航逻辑十分复杂,可以将用户接口过程组件视为表示层的一部分,以便封装和重用此逻辑。根据层模式在.NET框架下实现了一个基于Web的企业级应用系统,它的体系结构是根据三层服务应用模式设计的,并采用三级分布模式部署应用系统。系统采用先进的B/S结构,具有强大的交互功能,克服了浏览器交互性差的弱点,可以实现异构系统之间服务集成和数据共享。针对该系统,提出了几种事务处理模型,包括数据库事务处理、手动事务处理和自动事务处理。利用Microsoft Application Center Test工具对事务处理模型的性能进行了测试和分析,最后总结出它们的优缺点和适合使用的场合。
【Abstract】 Along with the boom of information technology, the distributed applications based on Internet become more and more complex, and the design of software architecture becomes more difficulty. A bad-designed architecture often results in a bad performance of the whole system. Layer pattern helps to construct the architecture of applications which can be divided into some groups of sub-task and each group is on a specifically abstract layer. With .NET framework, the work of constructing a web-based application by layer pattern becomes easier. As Web Services technology becomes more mature, enterprises need to provide services to their partners and integrate the services of partners into their own applications.To accommodate with this service-oriented requirement and make use of the existed there-layered pattern, duties related with other services can be added to each layer, thus three-layered application pattern is expanded to three-layered services application pattern. Application logic is divided into a group of cooperated services, each service provides a part function of the system. Each service of the business layer denotes a service interface that is implemented independent. Applications that take advantage of expanding data access layer can use service gateway to communicate with other services. If application logic is very complicated, user interface procedure component can be viewed as a part of the user layer so that the logic can be encapsulated and reused.An enterprise application based on Web is implemented according to the layer pattern, it adapts three-layered services application pattern to design system architecture. The system, which has powerful interaction function, uses advance B/S structure to overcome the infirm interaction of browsers and realize the integration of heterogeneous systems and data sharing. A few of transaction modules including database transaction, manual transaction and auto transaction are put forward aiming at the system. Microsoft Application Center Test tool is used to test and analyze the transaction modules. The merits and defects of the transaction modules are summarized and the environment suited with the transaction modules is also offered.
- 【网络出版投稿人】 华中科技大学 【网络出版年期】2005年 03期
- 【分类号】TP393
- 【下载频次】46