11 Replies Latest reply on Nov 22, 2008 3:26 AM by Ales Justin

    Lots of little XML files?

    David Lloyd Master

      I'm finding that as a consequence of having many deployers for a variety of XML files, that a deployment could have as many as 5 or 6 small XML files to configure various things.

      What about some kind of mechanism to allow users to combine descriptors into a single file? Something like this:

      <multi xmlns="urn:jboss:multi:1.0">
       <descriptor name="jboss-beans.xml">
       <deployment xmlns="urn:jboss:bean-deployer:2.0">
       <bean name="blah">
       ...
       </bean>
       </deployment>
       </descriptor>
       <descriptor name="jboss-classloading.xml">
       <classloading xmlns="urn:jboss:classloading:1.0">
       <capabilities>
       <package name="foo.bar" version="1.0"/>
       </capabilities>
       </classloading>
       </descriptor>
       <descriptor name="jboss-io.xml">
       ...etc...
       </descriptor>
      </multi>