![[8.5.5.6 or later]](../ng_v8556.gif)
Configuring libraries for OSGi applications
Each OSGi application can access a set of provided APIs and its own internal classes. Shared libraries can also be configured to provide access to extra packages from shared libraries.
About this task
Each OSGi application has its own set of OSGi bundles in a running Liberty server. Each OSGi bundle specifies the packages that it needs and the packages it provides for use by other OSGi bundles. Bundles within an OSGi application can access any packages that are provided by other bundles within the same OSGi application. Additionally, OSGi bundles within an OSGi application can access API packages provided by the Liberty server. Shared libraries can also be used to provide API packages for use by OSGi applications.
Libraries can be shared across multiple OSGi applications. All the applications, including Java EE applications, can use the same classes at runtime that are provided by shared libraries.