Java9 and OSGi R7 with Apache Felix and Sling

Introduced with the Java 9 release, the Java Platform Module System (JPMS) is a major feature that impacts many areas of the Java Platform. The recently released OSGi Core R7 specification has a couple of new features that build upon Java 9. This includes support for multi-release JARs and runtime discovery of packages provided by the JPMS modules loaded by the platform. Additionally, Apache Felix adds more features to handle JPMS interoperability and changes scheduled for later java versions.

In this talk, we will introduce the new features, highlight how they can be used via OSGi R7, and provide best practices for leveraging them in Apache Sling going forward.