aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Class Loading Question 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 » Java » EJB and other Java EE Technologies
Bookmark "Class Loading Question " Watch "Class Loading Question " New topic
Author

Class Loading Question

asdasd asddad
Greenhorn

Joined: May 09, 2005
Posts: 1
i am facing a problem where i currently dont have a test condition , unless i change a development box , which will affect all developers.
If any one has come accross the below condition before.Could you please clarify on what would happen??

1)I am working on Websphere App server 4.0
2)Default delegation mode for all ears on this servers has been set
to "Parent_Last".
3)Lets consider a jar ( name as ranch.jar for easy understanding)
This jar is present both in the ear and in the app extension directory
i.e lib/app.
Diagram :

App Ext Class loader ( lib/app ) --> ranch.jar
|
|
|
V
Application Class Loader ( ear ) --> ranch.jar

If i create a class say "Moose" ( which is contained in the ranch.jar
only) in lib/app
and send it to ear.
What will happen
1) i will get a class loader visibilty exception?
2) i wont get any exceptions it will work .

Your inputs would be greatly appreciated.

Thanks,
Samir.
Valentin Tanase
Ranch Hand

Joined: Feb 17, 2005
Posts: 704
Hi,

Check this article:
http://www.theserverside.com/articles/article.tss?l=ClassLoading
Regards


I think, therefore I exist -- Rene Descartes
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Class Loading Question