War file structure (for web apps):
index.html this.jsp that.jsp dir/static.jpg WEB-INF/ WEB-INF/web.xml WEB-INF/classes/com/mycompany/myproject/mypackage/myclass.class WEB-INF/lib/thirdparty.jar WEB-INF/struts-dtds WEB-INF/pages/hidden.jsp
Jar file structure (for EJB):
META-INF/ META-INF/MANIFEST.MS (includes classpath directive for third-party jars) META-INF/ejb-jar.xml com/mycompany/myproject/mypackage/ejb/MyEjb.class com/mycompany/myproject/mypackage/MyPojo.class
Ear file structure (for EJB application):
META-INF/ META-INF/application.xml my-ejb.jar my-web.war thirdparty.jar