Questions tagged [apache-felix]

Apache Felix is a community effort to implement the OSGi R4 Service Platform and other interesting OSGi-related technologies under the Apache license.

Apache Felix is a community effort to implement the OSGi R4 Service Platform and other interesting OSGi-related technologies under the Apache license. The OSGi specifications originally targeted embedded devices and home services gateways, but they are ideally suited for any project interested in the principles of modularity, component-orientation, and/or service-orientation. OSGi technology combines aspects of these aforementioned principles to define a dynamic service deployment framework that is amenable to remote management.

Subprojects:

The Felix project is organized into subprojects, where each subproject targets a specific OSGi specification or OSGi-related technology; the following list summarizes each released subproject:

  • Config Admin - An implementation of the OSGi Configuration Admin service specification for managing bundle configuration properties.
  • Dependency Manager - An API-based component model to simplify OSGi-based development.
  • Event Admin - An implementation of the OSGi Event Admin service specification for event-based communication.
  • File Install - A simple, directory-based management agent for managing bundle deployment.
  • Framework - An implementation of the OSGi R4.2 core framework.
  • Gogo - An advanced shell for interacting with OSGi frameworks.
  • HTTP Service - An implementation of the OSGi HTTP Service specification.
  • iPOJO - A sophisticated service-oriented component model to simplify OSGi-based development.
  • Log - A simple, memory-based implementation of the OSGi Log service specification.
  • Maven Bundle Plugin - A Maven plugin to simplify building bundles.
  • Maven SCR Plugin - A Maven plugin to simplify using Declarative Services.
  • Metatype - An implementation of the OSGi Metatype service to describe types needed by bundles.
  • OSGi Bundle Repository - A bundle repository service to simplify discovering and deploying bundles and their dependencies.
  • Preferences - An implementation of the OSGi Preferences service specification for storing settings and preferences.
  • Remote Shell - A remote, text-based interface to the Apache Felix Shell.
  • Service Component Runtime - An implementation of the OSGi Declarative Services specification providing a service-oriented component model to simplify OSGi-based development.
  • Shell - A very simple shell service implemented as a bundle for interacting with an OSGi framework instance.
  • Shell TUI - A simple, text-based interface to the Apache Felix Shell.
  • UPnP - An implementation of the OSGi UPnP Device service specification for UPnP device integration.
  • Web Console - A simple tool to inspect and manage OSGi framework instances using your favorite Web Browser.

Official Website: http://felix.apache.org/

Useful Links:

921 questions
10
votes
4 answers

Creating a complete OSGi application with Felix & Maven

I have a set of OSGi bundles being built using Maven and I was wondering if there is a Maven plugin available that allows me to do the following: Specify the set of bundles to include in a distribution and/or specify a single bundle and have the…
babernathy
  • 803
  • 2
  • 8
  • 23
10
votes
2 answers

What do these OSGi commands really do?

Using Felix / Equinox, what do the following do under the hood? osgi:install osgi:refresh osgi:resolve osgi:restart osgi:update Is there a state-machine diagram or more concise documentation somewhere?
wulfgarpro
  • 6,666
  • 12
  • 69
  • 110
10
votes
1 answer

Apache Felix SCR @Reference cheatsheet

I'm using Apache Felix declarative services in my application and I'm looking for a cheat sheet which describes the parameters one can give to the @Reference annotation. I saw a webpage once which contained a very informative cheat sheet (or table)…
Adam Arold
  • 29,285
  • 22
  • 112
  • 207
9
votes
2 answers

Problems with maven built OSGi including dependencies

I'm currently starting with OSGi, iPOJO and iPOJO Annotations and trying to build a simple component to be deployed in Felix. Unfortunately, I'm stumbling over various problems which take me hours to solve or which I cannot even solve after wasting…
qqilihq
  • 10,794
  • 7
  • 48
  • 89
9
votes
3 answers

How do you deserialize an object from bytes in osgi

In my osgi application I have three bundles, travel.api, table.api and utils. travel.api depends on table.api which depends on utils. Note that travel.api doesn't directly depend on utils. I use aQute Bnd to generate the manifests and I believe it…
Boomah
  • 1,172
  • 13
  • 24
8
votes
4 answers

OSGI missing requirement error

I am new to OSGI and I am trying to figure out how I resolve errors such as the one below org.osgi.framework.BundleException: Unresolved constraint in bundle org.foo.serviceBundle [253]: Unable to resolve 253.0: missing requirement [253.0] package;…
VDev
  • 2,287
  • 5
  • 25
  • 27
8
votes
2 answers

Embed thirdparty JAR using BND

I have an OSGi bundle that is built using ANT and the classic BND tool. My bundle uses a library (JAR) internally, which is not available as a bundle within my OSGi container (Apache Felix). So, I am trying to embed it within my bundle, for access…
Saket
  • 45,521
  • 12
  • 59
  • 79
8
votes
2 answers

Where are the Configurations made in OSGi Console saved?

When we update any configuration for a component in the Configurations tab in the Apache Felix Web OSGi Console, where are these configuration settings saved? This is with respect to AEM 6.0 or above.
Skeptic Scribbler
  • 527
  • 1
  • 6
  • 18
8
votes
1 answer

Apache Felix shell with SSH

I'm interested how I can use Apache Felix with SSH? I want to access Felix shell from remote computer using SSH. I know that there is a telnet support but it's too unsafe. Is there any solution?
Peter Penzov
  • 1,126
  • 134
  • 430
  • 808
8
votes
1 answer

What does org.osgi.framework.storage.clean=onFirstInit mean in context of the Apache Felix OSGi implementation?

I'm trying to figure out what the org.osgi.framework.storage.clean=onFirstInit really means in the context of the Felix framework. According to the OSGi specification: org.osgi.framework.storage: A valid file path in the file system to a …
axiopisty
  • 4,972
  • 8
  • 44
  • 73
8
votes
1 answer

Apache Felix File Install example

Is there any example of how to configure/install Apache Felix File install? In official website, it has been mentioned you need to configure properties etc. But no way they have mentioned where you need to put those configuration properties, how to…
Pradeep Simha
  • 17,683
  • 18
  • 56
  • 107
8
votes
2 answers

How do you build a JAR in eclipse with a custom manifest file?

I am trying to to build a Felix bundle in Eclipse. This basically includes having Eclipse create a JAR (through export) and adding my custom manifest file, however, I can't seem to get this to work. When I try exporting a JAR file, my custom…
Robert Greiner
  • 29,049
  • 9
  • 65
  • 85
7
votes
1 answer

How to embed external jars dependency in OSGI bundles?

I am trying to convert my project into an OSGI application. I have few doubts. Suppose ModuleA in my application is dependent on external jars jarA and jarB. Now to make ModeuleA run, I am embedding both the jars using embed-dependency property of…
Uday Ogra
  • 71
  • 1
  • 2
7
votes
1 answer

Does there exist an overview of OSGi terminology, frameworks and their relations?

I'm trying to get comfortable in the vast ecosystem of enterprise OSGi programming, but I find it very difficult to get an overview of how this technology stack is put together, which technologies build upon one another, which technologies solve…
Tormod Haugene
  • 3,538
  • 2
  • 29
  • 47
7
votes
1 answer

Using OSGi and Apache Felix iPOJO with JDK 11

I have a project that is built around OSGi and iPOJO and I'm trying to determine if it will still work with JDK 11. It's currently using JDK 8. It's not looking too hopeful since the latest version of iPOJO (1.12.1) was released in 2014. After…
AHalbert
  • 316
  • 5
  • 23
1
2
3
61 62