Configure 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. We can override the default settings, and configure class loading for each application.

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. To override the default settings and configure class loading for the application, complete one or more of the following tasks.

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


Parent topic: Administer Liberty manually


Related