Subject: external JAR references from ejb-app-JAR Author: Roberto Colmegna (rcolmegna AT tiscali.it) Date: 04 Nov 2004 Tested on: JBOSS 4.0.0 Suppose that you want build the EJB-APP "MYAPP.EAR" packed in MYAPP.jar which needs MYLIB.jar. To obtain a functional EAR you must build this structure: MYAPP.EAR | |-> META-INF/ | |-> APPLICATION.XML | |-> MANIFEST.MF | |-> MYAPP.jar | |-> META-INF/ | |-> APPLICATION.XML | |-> MANIFEST.MF | |-> MYLIB.jar The reference to MYLIB.JAR must be put in MYAPP.EAR/MYAPP.JAR/META-INF/MANIFEST.MF as this sample: ------- MYAPP.EAR/MYAPP.JAR/META-INF/MANIFEST.MF ---- Manifest-Version: 1.0 Ant-Version: Apache Ant 1.6.1 Created-By: 1.4.2_06-b03 (Sun Microsystems Inc.) Class-Path: MYLIB.jar -----------------------------------------------------