OSGi is a dynamic module system specification for the JVM. It has specifications with different versions and audiences. There are multiple implementations too:
Equinox,
Felix,
Knopflerfish
Eclipse from its version 3 is based on OSGi. NetBeans is also capable to handle OSGi modules since 6....