Title :
Dynamic Service Update Based on OSGi
Author :
Chen, Junqing ; Huang, Linpeng
Author_Institution :
Dept. of Comput. Sci. & Eng., Shanghai Jiao Tong Univ., Shanghai, China
Abstract :
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.
Keywords :
Web services; formal specification; program diagnostics; OSGi specification; class reloading; cooperating bundle updation; dynamic service update; open service gateway initiative; proxy design pattern; runtime source compilation; service dependency relationship preservation; temporary bundle shutdown; type-safe updating; Application software; Computer science; Costs; Finishing; Java; Manuals; Runtime; Service oriented architecture; Software engineering; Web services; Dynamic service update; OSGi; proxy design pattern; type safety;
Conference_Titel :
Software Engineering, 2009. WCSE '09. WRI World Congress on
Conference_Location :
Xiamen
Print_ISBN :
978-0-7695-3570-8
DOI :
10.1109/WCSE.2009.122