This short tutorial show how you can support inter deployment dependencies on JBoss AS 7.
If you have a deployment scenario like this, where you have multiple Enterprise applications which are required to be started up (and shut down) in a certain order:
Then you can specify the deployment dependency using the jboss-all.xml file which is a JBoss custom XML descriptor for EAR archives. The jboss-all.xml file needs to be placed in the META-INF folder of your EAR archive.
Here's for example how to solve the above dependency between the three EAR files: