Not quite. Things in the WAR can see everything, but nothing can see into the WAR. Other
than that, everybody can see everybody else.
Everything in the lib, deploy, ear, sar are in the same class repository (thus they all
have visibility to each other) by default, though you can configure an ear or sar to use a
separate class repository (see the JBoss Messaging sar for an example) in which case
things in that ear and sar are hidden in much the same way things in a war are hidden.
By the way, I created some simple classes that referenced each other and deployed them
different locations to verify the above.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020717#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...