You can set values that control the class-loading behavior of an installed Web module.
An application class loader is the parent of a WAR class loader. The WAR class-loader policy value of an application class loader determines whether the WAR class loader or the application class loader is used to load the contents of the Web module.
The default WAR class loader policy value is Class loader for each WAR file in application. If the policy is set to Class loader for each WAR file in application, then each Web module receives its own class loader whose parent is the application class loader. If the policy is set to Single class loader for application, then the application class loader loads the Web module contents as well as the enterprise bean (EJB) modules, shared libraries, resource adapter archive (RAR) files, and dependency Java archive (JAR) files associated to an application. Thus, the configuration of the parent application class loader affects the WAR class loader. You can set the policy on the Class loading and update detection page of an administrative console.
Use the administrative console to configure the application and WAR class loaders.
In this information ...Related concepts
Related tasks
Related information
| IBM Redbooks, demos, education, and more(Index) |