Using a Java library with a Java EE application
One way of using Java™ libraries with an application is to include them in the application itself. This might not always be desirable or appropriate, especially if the application is already packaged and does not include the library.
The latest documentation about class loader configuration for Liberty is available on the Open Liberty website.
About this task
In the following example, a library called
Alexandria
consists of two files: - alexandria-scrolls.jar and
- commons-lang.jar
Scholar
, running on a server called
Academy
, needs access to this library.