Oracle WebLogic Class Loader Hierarchy
The detailed order for WebLogic class loading in top-down hierarchy follows:
In order to do this, the FilteringClassLoader mechanism – a classloader that sits between Domain and Application – has to be used. this needs to be specified by the prefer-application-packages or prefer-web-inf XML tags.
If it interests you, the class-loading hierarchy for JBoss can be found here.
- System Classloader
- WebLogic implementation classes
- Classes in the system classpath
- PRE_CLASSPATH and EXT_PRE_CLASSPATH
- Domain Classloader
- classes in the domain directory's lib folder
- Application Classloader
- Java EE shared libraries referenced in weblogic-application.xml
- Modules defined in the application
- Libraries from Java EE library
- Libraries from /APP-INF/lib
- Web Classloader
- Java EE shared libraries referenced in weblogic.xml
- Classes in WEB-INF/classes
- Libraries in WEB-INF/lib
In order to do this, the FilteringClassLoader mechanism – a classloader that sits between Domain and Application – has to be used. this needs to be specified by the prefer-application-packages or prefer-web-inf XML tags.
If it interests you, the class-loading hierarchy for JBoss can be found here.
Comments