http://e-docs.bea.com/wls/docs103/programming/classloading.html
WebLogic Server provides a location within an EAR file where you can store shared utility classes. Place utility JAR files in the APP-INF/lib directory and individual classes in the APP-INF/classes directory.
- Create test library to print classloader of class
- Add test library into Web Project
- Add library into EAR
- Deploy with prefer-web-inf-classes = true
TestServlet loaded by ChangeAwareClassLoader
TestClassloader loaded by GenericClassLoader TestSessionBean_eb2d8g_Impl loaded by GenericClassLoader
- Deploy with prefer-web-inf-classes = false ( default)