[jboss-dev-forums] [Design of POJO Server] - Re: Domain interaction when there is scoping
adrian@jboss.org
do-not-reply at jboss.com
Mon Jan 28 07:54:54 EST 2008
"scott.stark at jboss.org" wrote :
| but we need to make it easier for subdeployments to build class loader in the correct domain.
|
That's what I said above. Instead of trying to hack something for the war classloader
use case, let's try to do this generically in the structure metadata
such that any subdeployment can say its classpath isn't to be added to the
root classloader of the deployment, instead a new
subdeployment classloader is built "on top of" the deployment classloader.
This is going to have to be modelled in the "Classloading" anyway since
you can image the case where you have two wars that
explictly import different versions of log4j for example in the same ear.
i.e. the log4j classes don't come from the WEB-INF/lib they are imported from
a repository based on version constraints.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124037#4124037
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124037
More information about the jboss-dev-forums
mailing list