This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Websphere and the fly likes How the CLASSLOADER works? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "How the CLASSLOADER works?" Watch "How the CLASSLOADER works?" New topic
Author

How the CLASSLOADER works?

Paul Duer
Ranch Hand

Joined: Oct 10, 2002
Posts: 98
Hi guys,
We have a Websphere Studio 5 setup here. We have a set of Java Projects with our code base in them, then we have a Web Project, and a J2EE project. Finally we have a servers project and a server config and instance in there to run our webapp.
My question is this. What is the classloader policy for a server like this? I know that any .jar file I put in WEB-INF/lib/ will be loaded and any project I put in the Web Library Content settings will also be loaded class by class. Is that ALL that loads? Or does WSAD add things to the classpath to start the server, or is the server start using a different java instance?
Rajesh Pillai
Greenhorn

Joined: Jul 03, 2002
Posts: 11
Hi,
By default the server configurations are :
class loader policy : multiple
class loader mode : Parent_first.
You can see this in WSAD by double clicking the server configuration and then clicking the 'configuration' and 'application' tabs.
Hope this helps.
Thank you
Rajesh
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How the CLASSLOADER works?