当前位置: 首页 > 工具软件 > Apache Felix > 使用案例 >

[OSGI Felix ] Intellij Idea 15 中开发 Maven osgi 项目(Apache felix环境)

端木野
2023-12-01

[OSGI] Felix基本环境搭建及操作 : https://blog.csdn.net/hechaomax/article/details/42641643

Intellij Idea 15中开发Maven+osgi项目(Apache felix环境):
https://blog.csdn.net/Primary_wind/article/details/51814237

开发一个真实的 OSGi 应用程序:

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

Springboot Application 集成 OSGI 框架开发:

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

 类似资料: