© Copyright IBM Corp. 2012, 2013. All rights reserved. 789
Chapter 22. Understanding class loaders
Understanding how class loaders work is critical to packaging and deploying applications.
Failure to configure class loaders properly results in a cascade of class loading exceptions
(such as ClassNotFoundException) when trying to start your application or even at run time.
In this chapter, we explain class loaders and how to customize the behavior of the
WebSphere class loaders to suit your particular application’s requirements. The chapter
concludes with an example designed to illustrate these concepts.
We cover the following topics:
JVM class loaders
WebSphere Application Server and Java EE application class loaders
Configuring class loaders for Java EE applications
Learning class loaders for Java EE by example
OSGi class loaders
22

Get WebSphere Application Server V8.5 Administration and Configuration Guide for the Full Profile now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.