问题 I am having second thoughts about something I've been taking for granted. Namely, in an EAR with the following structure: EAR \-- boo-ejb.jar \-- foo-web.war | \--WEB-INF | \--lib \--lib .. I think I understand correctly that the WEB-INF/lib is for jars needed only by the web application and the EAR-level lib for jars needed by the ejb.jar as well. The rationale being to somehow make the dependencies clearer. However, why not just dump everything in the EAR-level lib folder ? Surely if there