节点文献

基于插入式模块的容器动态适应性研究

Research on Plug-in Module-Based Container with Dynamic Adaptability

【作者】 江永健

【导师】 郭学俊;

【作者基本信息】 河海大学 , 计算机应用技术, 2004, 硕士

【摘要】 组件模型中,容器是组件的运行环境,为组件提供部署和运行所需要的技术服务。随着各种新型计算平台的出现和Internet信息网络的飞速发展,组件在执行期的环境变化越来越难于预测和控制,而现有的主流组件模型都使用注释静态设置容器,无法满足系统动态适应环境变化的要求。定制容器已成为一种趋势。目前国内外都已经启动了关于下一代容器样式的讨论和研究,并已取得了一些成果,但是还没有完全解决对容器的基本设计模型的复用及其对动态适应性服务的支持问题。 本文以现有的主流组件模型为基础,分析了组件模型的相关概念,系统地研究了组件模型的工作机制及其支持技术,深入研究了组件与容器之间的交互机制、容器机制及其关键技术,剖析容器为组件所提供的基本服务及其实现机制。在此基础上给出了一个基于插入式模块的容器模型PMBCM,同时对此模型引入一种动态适应性框架,实现在运行期间可监听其自身的状态,并能根据指定环境需求自适应地调整其自身功能。给出了PMBCM关键技术的具体实现,并针对EJB容器的结构特征,对其进行了功能重构,使其对组件执行期的环境具有动态适应性功能。最后提供一个案例分析,测试并验证PMBCM在实际系统的应用效果。 本文给出的容器模型较好地解决了应用系统对容器动态适应性的要求,PMBCM插入式模块的设计思想使得整个设计过程更为灵活,并使得设计可以被重用。另外,模块化设计所实现的体系结构可以比传统的环境更加迅速地进行系统调整或者重构。

【Abstract】 Component models use the Component-Container-Server framework. Container is the run-time environment of component and provides the technology services for deployment and execution of components. With new types of computing platforms appearing and rapid development of Internet, it is harder and harder to anticipate and control the execution conditions of components. But in the most of notable component models, configuration between components and middleware services is only supported at deployment-time using a declarative deployment descriptor, which is hard to satisfy the demand of dynamic adaptability in enterprise systems. So it is a trend to customize Containers. The research on the mode of next generation containers has been started, and has some achievements already. But it cannot settle all the problems mentioned above.In this thesis, the correlative conceptions about component models are analyzed and the work mechanism and the technology of component models are investigated. And the association between components and container, the mechanism and the technology of container are all deeply studied. Basing these, we design a container model named PMBCM(Plug-in module -Based Container Design Model). Then introduce a framework for dynamic adaptability to PMBCM, which enhance it by allowing components to be aware of, and adapt to, variations in the execution context. According to this, we extend the EJB container for adaptation in the same way, and give an example to validate it.The container model presented in this thesis satisfied the demand of dynamic adaptability in enterprise systems. The method of designing PMBCM makes it easier to be reused and extended than traditional methods.

【关键词】 组件模型容器PMBCM动态适应性重构
【Key words】 Component ModelContainerPMBCMDynamic Adaptabilityand Refactoring
  • 【网络出版投稿人】 河海大学
  • 【网络出版年期】2004年 03期
  • 【分类号】TP391.7
  • 【被引频次】1
  • 【下载频次】50
节点文献中: