Hi all, I have an EAR file that holds a WAR and a bunch of JAR files. Now the thing is that I would like to have an application-wide (EAR-wide so to speak) configuration file say myApp.properties. Where do I have to but the myApp.properties in the EAR file so that ALL of my components (WAR and all of the JARs) can access and therefore read the properties file? I was thinking about the META-INF/Manifest.mf but I don't know where to put it in there. Or do I have to put it in the APP-INF of my EAR? Any comments are welcome!
well, sometimes in production systems you cannot just copy files to the root directory of your application server. The people running and administer those servers would go green after a while. Besindes, this doesn't work on Weblogic so I assume there must be a better rule that is part of the J2EE spec.