[OSGI Felix ] Intellij Idea 15 中開發(fā) Maven osgi 項目(Apache felix環(huán)境)

[OSGI] Felix基本環(huán)境搭建及操作 : https://blog.csdn.net/hechaomax/article/details/42641643

Intellij Idea 15中開發(fā)Maven+osgi項目(Apache felix環(huán)境):
https://blog.csdn.net/Primary_wind/article/details/51814237

開發(fā)一個真實的 OSGi 應用程序:

http://www.cnblogs.com/lw900320/archive/2012/06/26/2563221.html

Springboot Application 集成 OSGI 框架開發(fā):

https://www.ibm.com/developerworks/cn/java/j-springboot-application-integrated-osgi-framework-development/index.html

felix-framework-6.0.1 jack$ java -jar bin/felix.jar 
____________________________
Welcome to Apache Felix Gogo

g! lb                                                                                                                                                                        00:27:01
START LEVEL 1
   ID|State      |Level|Name
    0|Active     |    0|System Bundle (6.0.1)|6.0.1
    1|Active     |    1|jansi (1.17.1)|1.17.1
    2|Active     |    1|JLine Bundle (3.7.0)|3.7.0
    3|Active     |    1|Apache Felix Bundle Repository (2.0.10)|2.0.10
    4|Active     |    1|Apache Felix Gogo Command (1.0.2)|1.0.2
    5|Active     |    1|Apache Felix Gogo JLine Shell (1.1.0)|1.1.0
    6|Active     |    1|Apache Felix Gogo Runtime (1.1.0)|1.1.0
g!                                                                                                                                                                           00:27:10
g! lb                                                                                                                                                                        00:28:28
START LEVEL 1
   ID|State      |Level|Name
    0|Active     |    0|System Bundle (6.0.1)|6.0.1
    1|Active     |    1|jansi (1.17.1)|1.17.1
    2|Active     |    1|JLine Bundle (3.7.0)|3.7.0
    3|Active     |    1|Apache Felix Bundle Repository (2.0.10)|2.0.10
    4|Active     |    1|Apache Felix Gogo Command (1.0.2)|1.0.2
    5|Active     |    1|Apache Felix Gogo JLine Shell (1.1.0)|1.1.0
    6|Active     |    1|Apache Felix Gogo Runtime (1.1.0)|1.1.0
g! lb                                                                                                                                                                        00:28:29
START LEVEL 1
   ID|State      |Level|Name
    0|Active     |    0|System Bundle (6.0.1)|6.0.1
    1|Active     |    1|jansi (1.17.1)|1.17.1
    2|Active     |    1|JLine Bundle (3.7.0)|3.7.0
    3|Active     |    1|Apache Felix Bundle Repository (2.0.10)|2.0.10
    4|Active     |    1|Apache Felix Gogo Command (1.0.2)|1.0.2
    5|Active     |    1|Apache Felix Gogo JLine Shell (1.1.0)|1.1.0
    6|Active     |    1|Apache Felix Gogo Runtime (1.1.0)|1.1.0
g! lb                                                                                                                                                                        00:28:30
START LEVEL 1
   ID|State      |Level|Name
    0|Active     |    0|System Bundle (6.0.1)|6.0.1
    1|Active     |    1|jansi (1.17.1)|1.17.1
    2|Active     |    1|JLine Bundle (3.7.0)|3.7.0
    3|Active     |    1|Apache Felix Bundle Repository (2.0.10)|2.0.10
    4|Active     |    1|Apache Felix Gogo Command (1.0.2)|1.0.2
    5|Active     |    1|Apache Felix Gogo JLine Shell (1.1.0)|1.1.0
    6|Active     |    1|Apache Felix Gogo Runtime (1.1.0)|1.1.0
g! lb                                                                                                                                                                        00:28:32
START LEVEL 1
   ID|State      |Level|Name
    0|Active     |    0|System Bundle (6.0.1)|6.0.1
    1|Active     |    1|jansi (1.17.1)|1.17.1
    2|Active     |    1|JLine Bundle (3.7.0)|3.7.0
    3|Active     |    1|Apache Felix Bundle Repository (2.0.10)|2.0.10
    4|Active     |    1|Apache Felix Gogo Command (1.0.2)|1.0.2
    5|Active     |    1|Apache Felix Gogo JLine Shell (1.1.0)|1.1.0
    6|Active     |    1|Apache Felix Gogo Runtime (1.1.0)|1.1.0
g!                                                                                                                                                                           00:28:33
g!                                                                                                                                                                           00:29:09
g!                                                                                                                                                                           00:29:09
g! install file:/Users/jack/soft/felix-framework-6.0.1/plugins/client-1.0-SNAPSHOT.jar                                                                                       00:29:10
Bundle ID: 7
g! install file:/Users/jack/soft/felix-framework-6.0.1/plugins/server-1.0-SNAPSHOT.jar                                                                                       00:30:28
Bundle ID: 8
g! lb                                                                                                                                                                        00:30:46
START LEVEL 1
   ID|State      |Level|Name
    0|Active     |    0|System Bundle (6.0.1)|6.0.1
    1|Active     |    1|jansi (1.17.1)|1.17.1
    2|Active     |    1|JLine Bundle (3.7.0)|3.7.0
    3|Active     |    1|Apache Felix Bundle Repository (2.0.10)|2.0.10
    4|Active     |    1|Apache Felix Gogo Command (1.0.2)|1.0.2
    5|Active     |    1|Apache Felix Gogo JLine Shell (1.1.0)|1.1.0
    6|Active     |    1|Apache Felix Gogo Runtime (1.1.0)|1.1.0
    7|Installed  |    1|client (1.0.0.SNAPSHOT)|1.0.0.SNAPSHOT
    8|Installed  |    1|server (1.0.0.SNAPSHOT)|1.0.0.SNAPSHOT
g! start 7                                                                                                                                                                   00:31:02
----------------hello client start---------------------
Service:Hello---not exists
----------------hello client start---------------------
g! start 8                                                                                                                                                                   00:31:13
----------------hello start---------------------
----------------hello start---------------------

https://github.com/Jason-Chen-2017/osgi-helloworld

最后編輯于
?著作權歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務。

相關閱讀更多精彩內(nèi)容

  • Android 自定義View的各種姿勢1 Activity的顯示之ViewRootImpl詳解 Activity...
    passiontim閱讀 179,094評論 25 709
  • 在此特此聲明:一下所有鏈接均來自互聯(lián)網(wǎng),在此記錄下我的查閱學習歷程,感謝各位原創(chuàng)作者的無私奉獻 ! 技術一點一點積...
    遠航的移動開發(fā)歷程閱讀 11,545評論 12 197
  • 窗內(nèi)是安詳沉睡的大多數(shù)人兒 窗外是醉酒闊論的小部分人兒 窗內(nèi)還有的是無眠掙扎的人兒 窗外還有的是困倦沉淪的人兒
    禾茉閱讀 252評論 0 0
  • 兒子一大早就打電話來,我剛剛上班呢!兒子高興的說:“媽媽,《西游記》我看完了,你還記得我們的約定嗎?”“當...
    泥道至簡閱讀 323評論 2 1

友情鏈接更多精彩內(nèi)容