The classloaders used to load your application classes are affected by these application-level settings:
When assembling an enterprise application resource (EAR) file, use the Classpath field for classes used by the application modules that are packaged in the EAR but not in the WAR files which reference them. Items in the Classpath field are considered dependencies and are loaded by the application classloader.
After installing an enterprise application (EAR), set the Classloader Mode and WAR classloader policy using the WebSphere administrative console.
After installing an enterprise application (EAR) that has web modules, set the Classloader Mode using the WebSphere administrative console.