I'd read about JBoss classloading mechanism in the Wiki page. However, there is something I still don't get it.
If a EAR contain an EJB jar and a WAR, with UCL, wouldn't the EJB be able to access the WAR WEB-INF/classes and WEB-INF/lib? I did some test cases and it doesn't seem to be true.
What I understand is that classes loaded would be placed in the shared repository and this repository is on top of the EJB and WAR classloader. Due to this, EJB would have access to WAR classes and vice versa.