The deploy order of ejb modules is incorrect. They are deployed in the reverse order that they are listed in application.xml file.
The spec doesn't mandate an order. Unless you can
point out otherwise ;-)
If anything, it should discover the order using
<ejb-ref> to obtain a suitable order and deploy in
JBoss currently deploys in two passes.
The first pass is container creation
The second pass is container linking and start