- Apache Felix
Infobox Software
name = Apache Felix
caption = Demonstration of the Apache Felix Shell GUI
collapsible = yes
developer =Apache Software Foundation
status = Active
latest release version = 1.2.1
latest release date = release date|2008|09|11
latest preview version =
latest preview date =
operating system =Cross-platform
size = 750 KB (archived)
programming language = Java
genre = 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.cite web | work=OSGi Alliance Site | title=OSGi Alliance Certified Products | url=http://www.osgi.org/Markets/Certified | accessdate=2008-10-03] The initial codebase was donated from the Oscar project atObjectWeb . [ [http://oscar.objectweb.org Project Oscar hosted at ObjectWeb] ] 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 atApache Software Foundation .Running Felix
To run Apache Felix OSGi you need to download the felix-1.0.x.tar.gz or felix-1.0.x.zip compressed file from the site. [ [http://felix.apache.org/site/downloads.cgi Apache Felix Downloads Site] ] 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
... | - set or get bundle start level. cd [ ] - change or display base URL. headers [ ...] - display bundle header properties. help - display impl commands. install [ ...] - install bundle(s). obr help - OSGi bundle repository. packages [ ...] - list exported packages. ps [-l | -s | -u] - list installed bundles. refresh [ ...] - refresh packages. resolve [ ...] - attempt to resolve the specified bundles. scr help - Declarative Services Runtime services [-u] [-a] [ ...] - list registered or used services. shutdown - shutdown framework. start [ ...] - start bundle(s). startlevel [ ] - get or set framework start level. stop [ ...] - stop bundle(s). uninstall [ ...] - uninstall bundle(s). update [ ] - update bundle. version - display version of framework. Projects Using Felix
The projects list below highlights the adoption Apache Felix
* [http://servicemix.apache.org/SMX4/index.html ServiceMix 4] - An open source ESB with an OSGi core. It also includes JBI support.
*Apache Sling - OSGi-based applications layer for JCR content repositories.
*EasyBeans - open source EJB 3 container.
*GlassFish (v3) - application server for J2EE.
*JOnAS 5 - open source Java EE 5 application server.
* [http://fuji.dev.java.net Project Fuji in Open ESB v3] - Light weight and modular ESB core runtime.
* [http://sip-communicator.org SIP Communicator] - open source Java VoIP and multi-protocol instant messenger.
* [http://groups.google.com/group/modulefusion modulefusion] - open source collection for Java enterprise applications.References
ee also
*OSGi Alliance
*Knopflerfish
*Equinox
*Concierge OSGi External links
* [http://felix.apache.org/ Apache Felix Website]
* [http://forge.objectweb.org/projects/oscar/ Oscar]
* [http://oscar-osgi.sourceforge.net/ Oscar Bundle Repository]
* [http://neilbartlett.name/blog/osgibook/ OSGi in Practice]
*Feathercast podcast about Felix released [http://feathercast.org/podcasts/feathercast_ep31.mp3]
*citation
first = Neil
last = Bartlett
year = 2008
title = OSGi In Practice
author-link =
publication-date =
date = 2008-09-22
year = 2008
edition = DRAFT
volume =
series =
publication-place =
place =
publisher =
pages = 217
page =
id =
isbn =
doi =
oclc =
url = http://neilbartlett.name/downloads/osgibook_preview_20080922.pdf
accessdate =
Wikimedia Foundation. 2010.