EAR和WAR类加载器 [英] EAR and WAR class loader
问题描述
我对JBoss类加载器感到非常困惑.谁能详细描述类加载器的工作原理?我只需要做一件事...
I'm very confused about the JBoss class loader. Can any one describe in details how the class loader works, exactly? I only have to do one thing...
如果WAR找不到具有自己的类加载器的类,则将搜索委派给其父类加载器,该父类加载器必须是EAR的类加载器.
If a WAR doesn't find a class with its own classloader, he delegates the search to its parent classloader which must be the EAR's.
在上述应用程序中我应该做哪些更改?
What changes should I have to do in my application for the above?
请尽快回复.
谢谢.
推荐答案
在评论中我们的讨论继续进行,我注意到以下JBoss功能请求.
In continuation of our discussion in the comments, I noticed the following JBoss feature request.
https://issues.jboss.org/browse/JBAS-4037
JBoss 4似乎不完全与Java EE5兼容,但是JBoss的更高版本应该已经解决了这个问题.
It looks like JBoss 4 is not fully Java EE5 compatible, however later versions of JBoss should have fixed this issue.
您正在运行什么版本的JBoss?
What version of JBoss are you running?
这篇关于EAR和WAR类加载器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!