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.
Hi! I'm Rohit Sood, a LLL :-) Life Long Learner. I've been a tech co-founder CTO, Chief IT Architect, Technologist, and Software Engineer and I cut through the noise and deliver actionable results. My blogs are a collection of insights and opinions - my own battle-tested insights as well as untested hypothesis: Cloud, AI, cybersecurity, system design, people, process, leadership and introspection . All opinions are my own.
Subscribe to:
Post Comments (Atom)
Is WSJF "better" than traditional ROI calculations for Applications?
I love road trips, and i like analogy. The Premise: Two couples are planning a road trip. The "Perfection" group: This group spe...

-
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 comments:
Post a Comment