How to Make your Code OSGi-Friendly Without Depending on OSGi

OSGi is increasingly important, but has not (yet) taken over the world. Unfortunately some libraries make mistakes that render them very difficult to use in OSGi and also will make them difficult to use in other module systems such as Jigsaw. For example loading classes dynamically and making assumptions about where a class can be loaded from. This short talk describes how to avoid making such mistakes, and how to build a Java library that is friendly towards OSGi and modularity in general, without actually tying it to OSGi.

Video source:
Video producer: