Over a million developers have joined DZone.

Supporting OSGi Runtime at the JVM level

DZone's Guide to

Supporting OSGi Runtime at the JVM level

· ·
Free Resource

Excelsior JET 6.5 has become the first compliant Java SE implementation that supports the core of OSGi Runtime at the JVM level. Specifically, wiring of OSGi bundles, consistency checking before execution and lazy activation of OSGi bundles are supported.

What are the benefits of having OSGi supported directly by the JVM?

Native pre-compilation/obfuscation

As Excelsior JET supports ahead-of-time compilation, the developers of commercial Eclipse RCP and Equinox applications benefit from the ultimate code obfuscation and protection of sensitive data: the applications can be compiled down to native code executables and distributed without the original jar files. Java decompilers are left at bay.

Secure OSGi Runtime

Merging Java and Equinox Runtimes results in the most secure environment for running Eclipse RCP applications. The environment blocks tampering with OSGi bundles and injecting unauthorized code via Java classloading hooks by protecting the Eclipse Runtime itself.

Static checker

The consistency of Eclipse RCP applications can be checked statically to prevent run-time errors.

Flash demo, customers' success stories, sample RCP applications compiled to native code (including the Eclipse IDE) and fully functional trial downloads are available here.

Official press-release
Excelsior JET home page

P.S. This new version of Excelsior JET is mostly focused on Eclipse RCP. However, the implemented Java Runtime technology can be used in other areas where OSGi shines, e.g. for Spring DM. We very appreciate your feedback on this topic.


Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}