Configuring class loaders and libraries for Java EE applications

By default, each application can access a set of provided APIs and its own internal classes and libraries. You can override the default settings, and configure class loading for each application.

Open Liberty The latest documentation about class loader configuration for Liberty is available on the Open Liberty website.

About this task

Each Java™ EE application has its own class loader in a running Liberty server. Liberty assumes some default settings for all Java EE applications, so that they can access the supported specification APIs (for example the servlet APIs if the servlet feature is enabled), and the IBM® APIs. By default, each application can access these provided APIs and access its own internal classes and libraries. If you have to override the default settings and configure class loading for your application, complete one or more of the following tasks.

Note: If you use configuration to override the default settings, you cannot deploy the application by dropping it into the dropins directory.