WebLogic Classloading

For Online Oracle Weblogic Admin Training, please contact through http://www.appsdbatraining.com

WebLogic Classloading

A classloader is part of JVM that loads classes into memory.Classloader is responsible for finding the classes at runtime.
The following classloaders are involved with weblogic server:
•Bootstrap classloader (JVM)
•Extensions classloader (JVM)
•Application classloader (WebLogic)

wls4

 

Points to remember:
•Java classloader would always search for a class from parent classloader. If two classes with same name exist within an EAR/WAR file and System ClassPath, the class from system classpath is picked up always because system classpath is parent classloader of application classloader (from the flow diagram above).
•Classes in WAR file can see/load EJB classes but not viceversa because WAR classloader is child of EJB classloader.

 

Nagulu Polagani

"We are all apprentices in a craft where no one ever becomes a master."