+

Search Tips   |   Advanced Search

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 profile server. The Liberty profile assumes some default settings for all Java EE applications, so 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 we have to override the default settings and configure class loading for the application, complete one or more of the following tasks.

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


Subtopics


Parent topic: Administer the Liberty profile manually

Tasks:
Defining a utility project as a shared library
Set a web project to use shared libraries