1 / 64
文档名称:

基于模块化框架的服务容器的设计与实现.pdf

格式:pdf   页数:64
下载后只包含 1 个 PDF 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

基于模块化框架的服务容器的设计与实现.pdf

上传人:numten7 2014/2/19 文件大小:0 KB

下载得到文件列表

基于模块化框架的服务容器的设计与实现.pdf

文档介绍

文档介绍:西安电子科技大学
硕士学位论文
基于模块化框架的服务容器的设计与实现
姓名:陈媛
申请学位级别:硕士
专业:计算机软件与理论
指导教师:陈平
20100101
摘要
构建开放式、可扩展的系统设计工具集成框架是实现分布式协作开发的关键
技术之一。使用 Web 服务技术,将系统设计工具的功能模块以服务形式加入到集
成框架中,可以很好地满足分布式协作应用的需求,降低开发的复杂度。因此,
需要为整个集成框架提供一个可靠的服务运行时环境。现有的服务容器在服务开
发时将功能实现逻辑与容器的处理逻辑绑定在一起,使得服务与所在容器产生了
紧耦合,增加了服务开发和维护的工作量,导致服务无法动态加载。
针对上述问题,本文提出并构建了一个组件化的、可动态扩展的 Web 服务容
器——基于模块化框架的服务容器,并在容器和服务之间使用 Python 语言嵌入式
技术引入动态语言模块,分离了容器的处理实现和服务的功能实现,提高了服务
的开发效率。此外,文中还分析了服务容器对并发机制的响应效率。针对响应效
率低下,设计并实现了一种支持并发机制的服务组件调用框架,缩短了服务容器
对并发服务调用请求的响应时间,提高了系统的运行效率。
实验证明,基于模块化框架的服务容器有效降低了容器和服务开发之间的耦
合度,保证了服务开发的效率和服务运行的稳定性。

关键词:分布式协作开发 Web 服务模块化框架并发机制服务容器
Abstract
Constructing an open and scalable integrated framework of system designing tools
is one of the key technologies of the distributed collaborative-development realization.
By web services technologies, modules of designing tools can be wrapped as web
services and integrated into the framework, which will not only satisfy the requirement
of the distributed collaborative application well but also reduce plexity of their
development greatly. Therefore, it is necessary to provide a reliable service runtime
environment for the framework. However, available service containers bind the function
realization codes and the container process codes together in the service developing,
thus the service is tight-coupled with the container, which increases the work load of
developing and maintaining and makes the dynamically loading of services impossible.
In order to resolve problems above, binative and dynamic extended web
services container is proposed, which is also named a Modular Framework based
Service Container. Python embedding technology is introduced in as a dynamic
language module to separate the implementation of the container process and service
function, which improves the development efficiency obviously. Moreover, the
response efficiency of service container to concurrent mechanism is also analyzed in