Version 1

    you can simple edit the file ${jboss_home}/server/default/conf/bootstrap/deployer.xml

     

     

     

      <bean name="topContextComparator">

         <constructor factoryClass="org.jboss.system.deployers.LegacyDeploymentContextComparator" factoryMethod="getInstance"/>

           <property name="suffixOrder" class="java.util.Map">

                              <map keyClass="java.lang.String" valueClass="java.lang.Integer">

                           <entry> <key>.deployer</key><value>50</value> </entry>

                                                  <entry> <key>.deployer</key><value>50</value> </entry>

                                                  <entry> <key>-deployer.xml</key><value>60</value> </entry>

                                                  <entry> <key>.aop</key><value>70</value> </entry>

                                                  <entry> <key>-aop.xml</key><value>80</value> </entry>

                            .....

                                                  <entry> <key>uuid-key-generator.sar</key><value>310</value> </entry>

                                                  <entry> <key>f3.jar</key><value>315</value> </entry>

     

                              .....

                            <entry> <key>common.jar</key><value>370</value> </entry>

                             .....

                                                 

                                                  <entry> <key>.zip</key><value>750</value> </entry>

                                                  <entry> <key>.bsh</key><value>800</value> </entry>

                                                  <entry> <key>.last</key><value>900</value> </entry>

             </map>

          </property>

          <property name="useDefaults">false</property>

       </bean>

     

     

    1)The item associated with small value are deploy first, you can add your application deployment unit with full name if you want to specify the exact order of all of them

    2) add property "useDefaults = false"