开发者

What are the best practices to migrate to new version of libraries in OSGi environment?

I have the following case: There are some OSGi applications in our environment, which consists of apache-karaf 2.0 and apache-camel 2.4.0. Now we would like to switch our prod开发者_Python百科uction environment to the latest versions of karaf (2.1.4) and camel (2.6.0). The problem is that we have some package constraints in our old applications, which are incompatible with new version of camel.

Are there any best practices to migrate existing OSGi code to new versions of libraries?


From what I see you have two options:

  • modify the old applications to use the new bundles
  • keep both the old and the new versions. OSGi can handle very nicely several versions of the same bundles / packages. It is actually one of its built features.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜