This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Class Loading in JBoss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Class Loading in JBoss" Watch "Class Loading in JBoss" New topic
Author

Class Loading in JBoss

Ramesh Kumar
Ranch Hand

Joined: Dec 28, 2004
Posts: 33
Hi,

Which class will be loaded in Application Server in the following Scenario.

Websphere as well as JBoss

I have a war, containg two jars (jar1,jar2) both containing same class in the same package structure (com.package.TestClass).

I want to load Test Class from which jar it loads?.




Ramesh
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9930
    
159

Have a look at:

http://www.jboss.org/wiki/Wiki.jsp?page=JBossClassLoadingUseCases

http://www.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration


[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Class Loading in JBoss
 
Similar Threads
Problem starting JBOSS 4.2.3
JBoss client/EJB local class incompatible
Class Loading in Websphere?
JBOSS 3.2.5 gives a "No class loaders found" exception for MBEAN
Running plain java classes in a server