I would like to deploy a webapp in JBoss but isolate its configuration from the binaries (which should be signed/sealed). The configuration is made of a bunch of properties/xml files containing environment specific values and load as classpath resources. The webapp binaries (.war) shouldn't change between environments (testing, pre-production, production). The environment entries (in webxml) of JEE is too limited/verbose for my configuration needs.
When I was deploying to Tomcat, I was using a feature called VirtualWebAppLoader (http://tomcat.apache.org/tomcat-6.0-doc/api/org/apache/catalina/loader/VirtualWebappLoader.html). This allowed me to add a folder to the webapp classpath.
Does an equivalent feature exists in JBoss 5? How would you add an extra folder in the webapp class loader?