Dynamic service update based on OSGi

被引:5
作者
Chen, Junqing [1 ]
Huang, Linpeng [1 ]
机构
[1] Shanghai Jiao Tong Univ, Dept Comp Sci & Engn, Shanghai, Peoples R China
来源
2009 WRI WORLD CONGRESS ON SOFTWARE ENGINEERING, VOL 3, PROCEEDINGS | 2009年
关键词
D O I
10.1109/WCSE.2009.122
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In the OSGi framework, the service updating is achieved by updating the cooperating bundles However, the way of service updating requires a temporary shutdown of bundles and can not implement the transfer of service's states. Thus it is not really dynamic service update In this paper, we present two techniques to solve the problem of dynamically updating service in OSGi One technique is replacing the service through interacting with other service with the same name The other technique is based on the combination of runtime source compilation, class reloading and the proxy design pattern The technique only needs modification of source code and little manual changes. Finally, we also prove the dynamic service updating is type-safe if preserving the service dependency relationships after updates.
引用
收藏
页码:493 / 497
页数:5
相关论文
共 12 条
[11]  
Pohl H. W., 2003, P EUROPLOP
[12]   Enhancing residential gateways:: OSGi service composition [J].
Redondo, Rebeca P. Diaz ;
Vilas, Ana Fernandez ;
Cabrer, Manuel Ramos ;
Arias, Jose J. Pazos ;
Lopez, Marta Rey .
IEEE TRANSACTIONS ON CONSUMER ELECTRONICS, 2007, 53 (01) :87-95