[jboss-user] [JBoss Microcontainer] - ClassLoading delegation
Ales Justin
do-not-reply at jboss.com
Mon May 3 10:20:10 EDT 2010
Ales Justin [http://community.jboss.org/people/alesj] replied to the discussion
"ClassLoading delegation"
To view the discussion, visit: http://community.jboss.org/message/540782#540782
--------------------------------------------------------------
Like you said, this is already exactly what JBossAS does.
So, why would you need your own (bad) mechanism?
The way JBossAS does it is by having the notion of domains, which are shared among multiple classloaders.
e.g. classloader in a domain sees classes from other classloaders in that same (or parent) domain
Pushing your work into JBossAS, this should work out-of-the-box.
If you wanna create smaller environment than JBossAS, have a look at my MC demos which does exactly that:
* http://anonsvn.jboss.org/repos/jbossas/projects/demos/microcontainer/trunk/ http://anonsvn.jboss.org/repos/jbossas/projects/demos/microcontainer/trunk/ -- bootstrap module
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/540782#540782]
Start a new discussion in JBoss Microcontainer at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2114]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100503/64795216/attachment.html
More information about the jboss-user
mailing list