| Author |
Clasloaders in jboss
|
Pradeep bhatt
Ranch Hand
Joined: Feb 27, 2002
Posts: 8876
|
|
Tom, What is that you cover in Classloaders and JBoss Appendix? Thanks Pradip
|
Groovy
|
 |
Tom Marrs
Author
Ranch Hand
Joined: Sep 20, 2000
Posts: 67
|
|
I cover the basics of Java Class Loaders and how they relate to J2EE Class Loaders. Then, I get into some detail about the JBoss Class Loaders. But the most important thing I cover is how to avoid Class Loader issues in your code, and how to choose the correct Class Loader. The Logging Appendix shows how to use the correct Class Loader to find/load a Properties file that's packaged in your EAR/WAR/JAR deployment. Tom
|
 |
Paul Sturrock
Bartender
Joined: Apr 14, 2004
Posts: 10336
|
|
There are useful pages in the JBoss Wiki which cover class loading too. You might like to look at: Classloading overviewClass Loading configurationAdvanced classloading
|
JavaRanch FAQ HowToAskQuestionsOnJavaRanch
|
 |
Pradeep bhatt
Ranch Hand
Joined: Feb 27, 2002
Posts: 8876
|
|
|
Thanks Tom and Paul. Is it possible to use custom classloader for a web application ? I dont see how to do this ?The docs havent mentioned anything abt this.
|
 |
Tom Marrs
Author
Ranch Hand
Joined: Sep 20, 2000
Posts: 67
|
|
Why would you want to use a custom Class Loader? I look a Class Loaders as black magic, and I don't mess with them any more than I need to. I just use the Thread Context Class Loader to load Properties files and other resources from CLASSPATH. Then, I encapsulate the messy code in utility classes. Tom
|
 |
 |
|
|
subject: Clasloaders in jboss
|
|
|