文件名称:Automatically managing service dependencies in OSGi(2005)
文件大小:93KB
文件格式:PDF
更新时间:2021-04-29 08:46:12
osgi
In a service oriented architecture, applications consist of several cooperating services. These networks of services are often dynamic in nature, so managing dependencies is something the developer needs to take into account. In an OSGi framework, services are deployed using bundles and these bundles feature two types of dependencies: 1. Package dependencies. A bundle can export a package which others import. These dependencies, although dynamic, are relatively easy to handle. 2. Service dependencies. Services, encapsulated in deployable components (bundles) can be started and stopped any time. Other components often depend on these services and need to deal with changes in their availability.