META-INF/jboss-app.xml的作用

<jboss-app>
<loader-repository>
seam.jboss.org:loader=seam-registration
</loader-repository>
</jboss-app>
lightbulb432:
This seems to be pretty significant, though I could be wrong...do I need one of these files? What would I replace seam-registration with...would it be the name of the context of my WAR? What exactly does this file do from the perspective of Seam...a web search tells me it has something to do with classloading...?

gavin.king@jboss.com:
This just enables scoped classloading. You only need this if you will be running to EARs in the same server, and they both have classes with the same names.

posted @ 2007-08-23 09:23  cuibq  阅读(179)  评论(0编辑  收藏  举报