JBoss Community

Re: EJB's and classloading

created by Ales Justin in JBoss Microcontainer - View the full discussion
If this is specific to the new classloading model in JBoss 5, where can I find a decent description of how it works?

* http://java.dzone.com/articles/jboss-microcontainer-classloading

 

Would it resolve the problem if I could somehow delegate the loading of the remote interface to the default classloader, so that that single class would not be isolated? Is it possible to do that?

You can simply switch the location of that MBean class to Service.ear.

And the isolated Application.ear would still find it.

 

Application.ear' parent domain would be default domain,

which would then also own Service.ear,

hence it would find Service.ear' classes, aka that MBean.

Reply to this message by going to Community

Start a new discussion in JBoss Microcontainer at Community