| 摘要: |
| Web应用服务器是Web计算环境下的新型中间件,为基于组件的分布式Web应用提供了基础运行平台.组件静态分布限制了事务性Web应用在运行期间适应执行环境变化的能力.为了满足Web应用的动态分布需求,Web应用服务器需在底层为组件提供一种动态迁移的能力.如何维持组件迁移前后的一致性是组件迁移中最棘手的问题之一.为解决此问题,定义了组件迁移一致性约束CMC(component migration constrains),并给出了在J2EE(Java 2 platform enterpnse edition)应用服务器中支持EJB(enterprise Java Bean)动态分布的组件迁移模型和SLB Copy,SFB_Copy,EB_Copy 3个迁移算法.分析得出SLB_Copy,SFB_Copy和EB_Copy均满足CMC约束.迁移模型和算法已在自主研制的Web应用服务器WebFrame2.0中实现,并已应用到自适应负载平衡、失效恢复等多个方面. |
| 关键词: Web应用服务器 组件迁移模型 组件迁移算法 组件迁移约束 动态分布 |
| DOI: |
| 分类号: |
| 基金项目:Supported by the National High-Tech Research and Development Plan of China under Grant Nos.2001AA113010, 2001AA414020,2001AA414310 (国家高技术研究发展计划(863)); the National Grand Fundamental Research 973 Program of China under Grant No.2002CB312005 (国家重点基础研究发展规划(9 |
|
| Migration Model and Algorithms for Dynamic Redistribution of Enterprise Java Bean Components |
|
FAN Guo-Chuang,WEI Jun,ZHONG Hua,FENG Yu-Lin
|
| Abstract: |
| Web application servers (WASs) provide a web computing infrastructure for distributed components. The component structure of statically configured distribution prevents web applications from being adaptive to the changing environmental conditions at runtime. To meet the requirement of dynamic redistribution, WASs should provide the capability to support component migration. The most challenging problem is to maintain component consistency during such a component migration. To resolve this inconsistency problem, some kinds of component migration constrains (CMC) are defined in this paper. A component migration model for J2EE (Java 2 platform enterprise edition) application servers is proposed, and SLB_Copy, SFB_Copy and EB_Copy component migration algorithms are presented. It is proved that SLB_Copy, SFB_Copy and EB_Copy migration algorithms all satisfy the CMC constrains. At present, the migration model is implemented in a J2EE application server, referred to as WebFrame 2.0, and these algorithms are applied to provide numerous services such as the adaptive load balancing service and the failover service. |
| Key words: Web application server component migration model component migration algorithm component migration constrains dynamic redistribution |