| Author |
Question on ClassLoaders
|
Saathvik Reddy
Ranch Hand
Joined: Jun 03, 2005
Posts: 228
|
|
Hi, I want to on how websphere app. server will handle this issue If I have two projects A & B deployed as two different war files a.war and b.war files to the same app. server. a.war file has lib/hibernate/hibernate3.jar b.war file has lib/hibernate/hibernate2.jar both the projects use hibernate api. My question is does app. server load both the jar files and execute each jar against each project? or does it load only one jar file and both project uses the same jar file?? Thanks in advance
|
 |
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Joined: Aug 26, 2006
Posts: 4967
|
|
Just so you know, with a standard classloader configuration, each war file will use its own set of jar files, so one will use h2, the other will use h3. Here's a tutorial on Understanding WebSphere Classloaders for more information Cheers! -Cameron McKenzie
|
Author of Hibernate Made Easy, What is WebSphere???, JSF 2.0 Made Easy and the SCJA Certification Guides
|
 |
Saathvik Reddy
Ranch Hand
Joined: Jun 03, 2005
Posts: 228
|
|
|
Thanks a lot. Really a very good resource.
|
 |
 |
|
|
subject: Question on ClassLoaders
|
|
|