BT

Apache Felix Framework 4.0.0 Adds OSGi 4.3 Support

| by Alex Blewitt Follow 4 Followers on Sep 26, 2011. Estimated reading time: 1 minute |

OSGi 4.3 comes to the Apache Felix project with today's release of the Felix Framework 4.0.0. The key difference with this release is that it passes the OSGi 4.3 compliance tests.

The release of OSGi 4.3 brought generics to the core framework, which allows type-safe services to be accessed instead of having to perform casts. Although Equinox 3.7 implemented the OSGi 4.3 runtime with its release this summer, Felix has only just been released with the support.

It also brings the ability to resolve and process capabilities, which are a generalisation of the bundle package wiring that OSGi has had for ever. Now it is possible to express abstract dependencies (such as “There must be a Declarative Sevices provider”) without needing to express a dependency on a specific package.

In addition, both Equinox and Felix now support the OSGi 4.3 framework hooks which allow filters to be put in place to hide bundles and services from each other. This is used by Eclipse Virgo to create region digraphs, which up until now has only run on Equinox due to the dependencies on the OSGi 4.3 APIs. This provides a mechanism to create nested/composite bundles, which allows an OSGi runtime to effectively provide multi tenancy; or in other words, host multiple applications whilst keeping them separated from one another.

Finally, the OSGi 4.3 runtime provides a general byte-code weaver hook. This permits frameworks to install a general class re-writing hook that can be used to provide hook-ups such as integration with a transaction manager or supporting efficient mechanisms for hooking in JPA-persisted entities.

The change notes are available, and the framework can be downloaded from the main Felix site.

The Felix Framework 4.0.0 also has an implementation of the Security Framework Provider 2.0. Although the Felix Framework 3.0.0 has been certified compliant, and Felix Framework 4.0.0 passes the tests, it has not yet been certified compliant.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Felix Framework 4.0.0 also has an implementation of the Security Framework by Karl Pauls

Great Articel. Thanks. One small clarification:

Neither framework, nor framework.security have been 4.3 certified, but both combined pass the 4.3 CT -- hence, we can claim compliance. Furthermore, framework 3.0.x and framework.security 1.4.x combined are passing the old (4.2) CT and have been certified together by sun as you can see here: www.osgi.org/Specifications/Certified.

Re: Felix Framework 4.0.0 also has an implementation of the Security Framew by Karl Pauls

Thanks for updating the article.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

2 Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT