BT

InfoQ Homepage News Apache Felix Framework 4.0.0 Adds OSGi 4.3 Support

Apache Felix Framework 4.0.0 Adds OSGi 4.3 Support

Bookmarks

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
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.

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

Community comments

  • Felix Framework 4.0.0 also has an implementation of the Security Framework

    by Karl Pauls /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    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 /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    Thanks for updating the article.

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

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

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.