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 条
[1]  
Ajmani S, 2006, LECT NOTES COMPUT SC, V4067, P452
[2]  
Bottaro Andre, 2008, 2008 22nd International Conference on Advanced Information Networking and Applications - Workshops, P378, DOI 10.1109/AINA.2008.14
[3]   A dynamic service-oriented implementation for Java']Java EE servers [J].
Desertot, Mikael ;
Donsez, Didier ;
Lalanda, Philippe .
2006 IEEE INTERNATIONAL CONFERENCE ON SERVICES COMPUTING, PROCEEDINGS, 2006, :159-+
[4]   A formal framework for on-line software version change [J].
Gupta, D ;
Jalote, P ;
Barua, G .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1996, 22 (02) :120-131
[5]  
Hjalmtysson G, 1998, PROCEEDINGS OF THE USENIX 1998 ANNUAL TECHNICAL CONFERENCE, P65
[6]   Dynamic class loading in the Java']Java™ virtual machine [J].
Liang, S ;
Bracha, G .
ACM SIGPLAN NOTICES, 1998, 33 (10) :36-44
[7]  
Malabarba S, 2000, LECT NOTES COMPUT SC, V1850, P337
[8]   Effect of fertilization technique and cultivar on uniformity of cabbage [J].
Murakami, K. ;
Okada, K. ;
Ikoma, H. .
Proceedings of the International Symposium Towards Ecologically Sound Fertilisation Strategies for Field Vegetable Production, 2006, (700) :225-228
[9]   A technique for dynamic updating of Java']Java software [J].
Orso, A ;
Rao, A ;
Harrold, MJ .
INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, PROCEEDINGS, 2002, :649-658
[10]  
*OSGI ALL, 2008, OSGI SERV PLATF COR