Both - Each application has a stack of Classloaders.
You have classloaders for each module in the application (WAR, EJB modules, etc)
A classloader across the application (EAR)
and classloaders from Websphere (ws.ext.dirs) and Java system (CLASSPATH variable) - which would be shared by all apps