Apache Felix
Apache Felix
Developed by Apache Software Foundation
Latest release 1.2.1 / 11 September 2008; 71 days ago
Written in Java
OS Cross-platform
Size 750 KB (archived)
Development status Active
Type OSGi Service Platform
License Apache 2.0 Licence
Website http://felix.apache.org/

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.

Contents

Running Felix

To run Apache Felix OSGi you need to download the felix-1.x.x.tar.gz or felix-1.x.x.zip compressed file from the site.[3] Once you have the Felix framework an uncompressed as JAR, from the command line type the following:

java -jar bin/felix.jar

Once this is running you will see an Enter profile name: prompt as shown below

Welcome to Felix.
================= 

Enter profile name: 

This is the Felix console waiting for you to type the project name profile. It is a simple way to organize sets of installed bundles and any arbitrary name will suffice. Entering the same profile name for subsequent executions of Felix will restore the installed bundles associated with that profile.

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

-> help

bundlelevel <level> <id> ... | <id> - set or get bundle start level.
cd [<base-URL>]                     - change or display base URL.
headers [<id> ...]                  - display bundle header properties.
help                                - display impl commands.
install <URL> [<URL> ...]           - install bundle(s).
obr help                            - OSGi bundle repository.
packages [<id> ...]                 - list exported packages.
ps [-l | -s | -u]                   - list installed bundles.
refresh [<id> ...]                  - refresh packages.
resolve [<id> ...]                  - attempt to resolve the specified bundles.
scr help                            - Declarative Services Runtime
services [-u] [-a] [<id> ...]       - list registered or used services.
shutdown                            - shutdown framework.
start <id> [<id> <URL> ...]         - start bundle(s).
startlevel [<level>]                - get or set framework start level.
stop <id> [<id> ...]                - stop bundle(s).
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

References

See also

External links


No comments have been added.



Your name:

City:

Country:

Your comments:

Security check *
(Please enter the number into adjoining box)