The Full Wiki

Apache Felix: Wikis


Note: Many of our articles have direct quotes from sources you can cite, within the Wikipedia article! This article doesn't yet, but we're working on it! See more info or our list of citable articles.


From Wikipedia, the free encyclopedia

Apache Felix
Apache Felix
Developer(s) Apache Software Foundation
Stable release 2.0.4 / February 18, 2010; 19 day(s) ago (2010-02-18)
Written in Java
Operating system Cross-platform
Size 750 KB (archived)
Development status Active
Type OSGi Service Platform
License Apache 2.0 Licence

Apache Felix is an open source implementation of the OSGi Release 4 core framework specification.[1] The initial codebase was donated from the Oscar project at ObjectWeb.[2] The developers have worked on Felix for a full year and have made various improvements while retaining footprint and performance. In June 21 2007, the project graduated from incubation as top level project and considered the smallest size software at Apache Software Foundation.


Running Felix

To run Apache Felix OSGi you need to download the felix-framework-2.x.x.tar.gz or compressed file from the site.[3] Once you have extracted the Felix framework distribution, from the command line in the extracted directory type the following:

java -jar bin/felix.jar

After that, bundles are installed running and typing command like help from the console will display all available commands, which are:

bundlelevel <level> <id> ... | <id> - set or get bundle start level.
cd [<base-URL>]                     - change or display base URL.
find <bundle-name>                  - display bundles matching substring.
headers [<id> ...]                  - display bundle header properties.
help                                - display impl commands.
inspect                             - inspect dependency information (e.g., packages, service, etc.).
install <URL> [<URL> ...]           - install bundle(s).
log [<max>] [error|warn|info|debug] - list recent log entries.
obr help                            - OSGi bundle repository.
ps [-l | -s | -u]                   - list installed bundles.
refresh [<id> ...]                  - refresh packages.
resolve [<id> ...]                  - attempt to resolve the specified bundles.
shutdown                            - shutdown framework.
start <id> [<id> <URL> ...]         - start bundle(s).
startlevel [<level>]                - get or set framework start level.
stop <id> [<id> ...]                - stop bundle(s).
sysprop [-r] [<key>] [<value>]      - Display, set, modify and remove system properties.
uninstall <id> [<id> ...]           - uninstall bundle(s).
update <id> [<URL>]                 - update bundle.
version                             - display version of framework.

Projects Using Felix

The projects list below highlights the adoption Apache Felix


See also

  • OSGi Alliance
  • Apache ACE, a software distribution framework based on OSGi that allows user to centrally manage and distribute software components
  • Apache Aries, a Blueprint Container implementations and extensions of application-focused specifications defined by OSGi Enterprise Expert Group
  • Knopflerfish
  • Equinox
  • Concierge OSGi

External links



Got something to say? Make a comment.
Your name
Your email address