I have found that subfolder "deploy.last" of folder "deploy" can be used to deploy files "deploy.last\*.*" after all other JBoss services deployed.
Folder "deploy.last" can have subfolders "deploy.last\deploy.last" and so on, this is one way to specify deployment order.
Am I right? Is there other ways?
Take a look at http://www.jboss.org/wiki/Wiki.jsp?page=ConfiguringTheDeploymentScannerInConfjbossSystem.xml.
You can then add a numeric prefix to your archives:
This way, it will order your deployment by the prefix you use, i.e. 001 comes before 002 comes before 003.
(From the above link, enable the PrefixDeploymentSorter)
If I enable the PrefixDeploymentSorter in file conf/jboss-service.xml it will affect deployment of all files at all subfolders of "deploy" folder. Can I enable PrefixDeploymentSorter local, only for one subfolder of "deploy" folder?