OSGI - handling 3rd party JARs required by a bundle

前端 未结 6 1843
感情败类
感情败类 2020-12-02 12:07

I\'m just getting started with OSGI development and am struggling to understand how best to handle dependant JARs.

i.e. if I\'m creating a bundle the likelyhood is t

6条回答
  •  甜味超标
    2020-12-02 12:44

    I would almost always bundle each jar separately. OSGi itself is meant for modularization and you take the whole system ad absurdum by not doing this.

    If you want to convert JARs into bundles you might want to use the BND Tool written by Peter Kriens. But first I would suggest you look for the bundle in the SpringSource Enterprise Bundle Repository if they haven't already done the work for you.

提交回复
热议问题