Abundant articles are available on WebSphere classloaders.
Just to reiterate one important point:
Several issues in WebSphere version 4.x have been resolved in WebSphere 5.x.
For example: If in a WAS5 ear there are multiple WARs and each WAR needs to reuse a utility jar and the reference is given in the manifest, the jar class loader will load up the utility only ONCE.
In a project I was working there was debate and almost certainly a hack was planned by delinking wars from their manifests and adding those manifests in a shell EJB projects (!)
Here is a sample classloader hierachy:
Application is set to Parent First
War is set to Parent last.
EJB ClassLoaders
com.ibm.ws.classloader.ExtJarClassLoader
sun.misc.Launcher$ExtClassLoader
sun.misc.Launcher$AppClassLoader
com.ibm.ws.bootstrap.ExtClassLoader
com.ibm.ws.classloader.ProtectionClassLoader
com.ibm.ws.classloader.CompoundClassLoader
WAR Classloaders
com.ibm.ws.classloader.CompoundClassLoader
com.ibm.ws.classloader.ExtJarClassLoader
sun.misc.Launcher$ExtClassLoader
sun.misc.Launcher$AppClassLoader
com.ibm.ws.bootstrap.ExtClassLoader
com.ibm.ws.classloader.ProtectionClassLoader
com.ibm.ws.classloader.JarClassLoader
You can view your hierarchy with the classloader viewer, read and download from here.
I'm Rohit Sood, and I'm sharing my insights, work and opinions to think through my own battle-tested insights as well as untested hypothesis. I want to hear from you. IT Leaders and technologists are navigating the complex landscape of enterprise technology. My goal is to cut through the noise and deliver actionable knowledge grounded in my experiences as a tech startup co-founder and a veteran of major corporations. All opinions are my own.
Subscribe to:
Post Comments (Atom)
The Human-AI Partnership: Why Mastering Touch Typing is Your Next Generative AI Superpower
Generative AI requires humans to establish thought partnership rather than allow AI to take over critical thinking skills. I believe that ty...
-
I think a utility tree is a visualization of quality attribute exposures for a given architecture, however it can get pretty cumbersome and...
-
COTS, FOSS or FOSS+Support. Which one should you choose. The answer: it depends. (Surprise) Just because various software vendors don...
-
NO SQL is basically a highly scalable disruptive data storage technology. The basic downsides included proprietary APIs (no standard SQL), e...
No comments:
Post a Comment