This content has been marked as final.
Show 2 replies
-
1. Re: Class Reuse and Classloader Issue
raja05 Oct 3, 2003 8:38 AM (in response to cstettler)If you need isolation of ur classes, you have to scope the classloader for each ear. Look at "EAR Scoping" in the getting started documentation.
You have to create a jboss-app.xml and place this tag <loader-repository>jboss.test:loader=urear.ear</loader-repository>
(Take a look at http://jboss.org/j2ee/dtd/jboss-app_3_0.dtd
This would create a classloader that only those classes in the ear use.
-Raj -
2. Re: Class Reuse and Classloader Issue
cstettler Oct 3, 2003 9:40 AM (in response to cstettler)Thanks a lot for your fast answer! It works now.
Btw: this is a proprietary feature of JBoss, isn't it? Do you know if there is planned to support this option in upcoming J2EE specs?