博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Apache Felix
阅读量:6735 次
发布时间:2019-06-25

本文共 1405 字,大约阅读时间需要 4 分钟。

hot3.png

Apache Felix是OSGi服务平台版本4在Apache许可证下的一个实现。

Felix安装

  1. 准备java开发环境,安装jdk。
  2. 下载并解压felix。下载地址:

Felix文件内容

  • bin: Contains the main application JAR (felix.jar). This is actually the org.apache.felix.main bundle renamed to felix.jar for convenience. We will be starting the framework through this JAR
  • bundle: The auto-deploy directory; bundles in this directory are automatically installed and started at framework startup
  • conf: Contains the configuration files. The default configuration is very suitable for most beginners. As you start looking for more ways to customize your Felix installation, you may come back to the files in this directory for a fine-tuning of the configuration
  • doc: Contains useful documentation on the install and configuration of the framework, as well as on the bundles included by default in the distribution's bundle directory.

After the application is started for the first time, an additional folder will appear:

  • felix-cache: Contains the framework's local cache of installed bundles and their information. This folder can be deleted to reset the framework. Doing this will remove all bundles that have been installed.

Felix运行

        假设felix文件解压到C:\felix,在命令行中输入命令:C:\felix>java -jar bin/felix.jar

        felix启动,命令行输出:

        

        在启动过程中,首先系统Bundle被启动,即felix.jar;接下来安装和启动自动部署的bundle,即bundle文件夹下的bundles;当Gogo Shell bundle被激活,它接受用户的指令输入并对指令进行处理。当命令行出现g!,用户便可以进行指令输入。

转载于:https://my.oschina.net/u/178218/blog/71782

你可能感兴趣的文章
[收藏学习]安全性相关
查看>>
测来测去,感觉REQUESTS最实在
查看>>
powershell 模拟IE行为
查看>>
细说ES7 JavaScript Decorators
查看>>
最好的团队
查看>>
Objective-C之@类别小实例
查看>>
IOS的唯一标识符问题(转)
查看>>
【Oracle】How to Rename or Move Datafiles and Logfiles 之一
查看>>
CYQ.Data 轻量数据访问层(六) 构造数据表
查看>>
CFRunLoop
查看>>
一次XEN虚拟化安装虚机系统时的换光盘操作
查看>>
第五天 应用代理SQUID
查看>>
CDH使用之CM、CDH4、5卸载
查看>>
Windows Server 2012和Windows 8的Remote FX功能
查看>>
部署PowerBI报表服务器(本地)
查看>>
国内几个php开源代码解析
查看>>
Linux下添加php的zip模块
查看>>
hadoop 命令手册
查看>>
阿里云ECS搭建Java+mysql+tomcat环境的简要步骤
查看>>
我的友情链接
查看>>