Apache Felix is an open source implementation of the OSGi Core Release 6 framework specification. The initial codebase was donated from the Oscar project at ObjectWeb. The developers worked on Felix for a full year and have made various improvements while retaining the original footprint and performance. On June 21, 2007, the project graduated from incubation as a top level project and is considered the smallest size software at Apache Software Foundation.
Running Felix
To run Apache Felix OSGi, you need to download the felix-framework-4.x.x.tar.gz or felix-framework-4.x.x.zip compressed file from the site. Once you have extracted the Felix framework distribution, from the command line in the extracted directory type the following:
After bundles are installed and running, typing a 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.
Version history Felix Framework Distribution Version OSGi spec support Release date7.0.0R7December 25, 20206.0.3R6May 2, 20196.0.2 R6January 31, 20196.0.1R6August 20, 2018 5.2.0 R6 September 25, 2015 5.0.1 R6 June 21, 2015 5.0.0 R4 April 24, 2015 4.6.1 R4 March 8, 2015
Subprojects List of subprojects of which the Apache Felix framework consists. +ComponentLatest versionReleasedAutoConf Resource Processor0.1.8January 16, 2016Bundle Repository2.0.10April 21, 2017Configuration Admin1.9.16June 15, 2019Connect0.2.0May 25, 2018Configurator1.0.10June 15, 2019Converter1.0.10August 26, 2019Coordinator1.0.2November 9, 2015Dependency Manager 4r15December 23, 2018Deployment Admin0.9.10January 16, 2016Event Admin1.5.0May 4, 2018File Install3.6.4October 23, 2017Framework Security2.6.1August 16, 2018Framework6.0.3May 2, 2019Gogo5January 14, 2019Gogo BOM1.0.2January 14, 2019Gogo Command1.1.0January 10, 2019Gogo JLine1.1.4January 28, 2019Gogo Runtime1.1.0January 10, 2019Gogo Shell1.1.0January 10, 2019Health Check Annotations2.0.0February 25, 2019Health Check API2.0.2May 20, 2019Health Check Core2.0.6May 20, 2019Health Check General Checks2.0.4May 13, 2019Health Check Webconsole Plugin2.0.0February 25, 2019HTTP Service API3.0.0August 5, 2015HTTP Service Base4.0.8September 7, 2019HTTP Service Bridge4.0.10September 7, 2019HTTP Service Bundle3.0.0January 29, 2015HTTP Service Cometd2.3.2November 5, 2014HTTP Service Jetty4.0.14September 12, 2019HTTP Service Proxy3.0.6May 15, 2019HTTP Service Reactor5November 5, 2014HTTP Service SSL filter1.2.6October 19, 2018HTTP Service Whiteboard4.0.0April 26, 2018HTTP Servlet 2.6 + 3.0 API1.1.2August 5, 2015Inventory Printer1.0.6December 5, 2017iPOJO (Core)1.12.1December 16, 2014iPOJO Annotations1.12.1December 16, 2014iPOJO API1.12.1December 16, 2014iPOJO Architecture Command for Gogo1.12.1December 16, 2014iPOJO Architecture Command for the Felix Shell1.6.0April 16, 2010iPOJO BND Plugin1.12.1December 16, 2014iPOJO Composite1.12.1December 16, 2014iPOJO Event Admin handler1.8.0May 11, 2011iPOJO Extender pattern handler1.4.0July 21, 2009iPOJO JMX handler1.4.0July 21, 2009IPOJO Karaf Features1.12.1December 16, 2014iPOJO Manipulator Project (containing all iPOJO manipulator modules)1.12.1December 16, 2014iPOJO Manipulator1.12.1December 16, 2014iPOJO Manipulator BOM1.12.1December 16, 2014iPOJO Maven Plugin1.12.1December 16, 2014iPOJO Metadata1.6.0December 6, 2011iPOJO Runtime Project (containing all iPOJO runtime modules)1.12.1December 16, 2014iPOJO Temporal Dependency handler1.6.0May 16, 2010iPOJO URL Handler1.6.0April 16, 2010iPOJO WebConsole Plugin1.7.0May 15, 2013iPOJO Whiteboard pattern handler1.6.0July 3, 2011Jaas Support Boot Classpath Jar1.0.2Jaas Support Bundle1.0.2February 13, 2017junit4osgi - maven plugin1.0.0May 1, 2009junit4osgi - shell command1.0.0May 1, 2009junit4osgi - swing gui1.0.0May 1, 2009junit4osgi1.0.0April 30, 2009Lightweight HTTP Service Complete0.1.6May 5, 2017Lightweight HTTP Service Core0.1.6May 5, 2017Lightweight HTTP Service Reactor0.1.6May 5, 2017Logback1.0.2January 22, 2019Main6.0.3May 2, 2019Metatype1.2.2September 26, 2018OBR Maven plugin1.2.0February 14, 2008OSGi Check Maven Plugin0.1.0September 23, 2018OSGi OBR service API1.0.2Apilr 25, 2008Preferences1.1.0October 12, 2016Remote Shell1.2.0November 25, 2016Resolver2.0.0July 3, 2018SCR (Declarative Services)2.1.16February 26, 2019SCR Annotations1.12.0October 13, 2016SCR bnd Plugin1.9.4May 9, 2019SCR Compat (Declarative Services)1.0.4July 6, 2016SCR DS Annotations1.2.10September 8, 2017SCR Ext Anno1.0.0July 10, 2016SCR Generator1.18.2May 9, 2019Shell Text UI1.4.1October 11, 2009Shell1.4.3March 6, 2012System Ready0.4.2April 5, 2019UPnP Base Driver (JDK 1.3)0.8.0June 12, 2008UPnP Base Driver (JDK 1.4+)0.8.0June 12, 2008UPnP Extra0.4.0May 17, 2009UPnP Tester0.4.0May 17, 2009User Admin1.0.4June 20, 2019User Admin File-based store1.0.2November 30, 2015User Admin MongoDB-based store1.0.1November 30, 2012Utils1.11.2December 11, 2018Web Console4.3.14August 16, 2019Web Console DS Plugin2.1.0September 23, 2018Web Console Event Plugin1.1.8September 26, 2017Web Console Memory Usage Plugin1.0.10April 2, 2019Web Console OBR Plugin1.0.4May 5, 2017Web Console Package Admin Plugin1.0.4February 17, 2017Web Console Script Console Plugin1.0.2November 30, 2015Web Console Service Diagnostics Plugin0.1.3September 16, 2013Web Console Subsystems Plugin0.1.0November 30, 2015Web Console UPNP Plugin1.0.6March 10, 2015Web Console User Admin Plugin1.0.2March 10, 2015
Projects using Felix The projects listed below highlight the adoption of Apache Felix: ServiceMix 4Home page for the Apache 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 Java EE. JOnAS 5 - open source Java EE 5 application server. JORAM and JoramMQ - open source messaging: JMS, AMQP and MQTT broker. Project Fuji in Open ESB v3 - Light weight and modular ESB core runtime. Jitsi (formerly known as SIP Communicator) - open source Java VoIP and multi-protocol instant messenger. modulefusion - open source collection for Java enterprise applications. NetBeans - The free MultiLanguage IDE. SOA Software - API Gateway application from Akana (formerly SOA Software). Spring Roo - RAD tool for Java-based enterprise applications Opencast Matterhorn - Open Source software to produce, manage and distribute academic audio and video content, especially lecture recordings. JIRA - JIRA supports plug-ins as OSGi bundles. Adobe Experience Manager - Enterprise content management system and digital asset management developed by Adobe Inc.
See also
OSGi Alliance Apache Aries, a Blueprint Container implementations and extensions of application-focused specifications defined by OSGi Enterprise Expert Group Equinox Concierge OSGi
References
External links