前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >[OSGI Felix ] Intellij Idea 15 中开发 Maven osgi 项目(Apache felix环境)

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

作者头像
一个会写诗的程序员
发布2018-09-12 17:37:43
1.5K0
发布2018-09-12 17:37:43
举报

[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

代码语言:javascript
复制
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

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2018.09.07 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档