Someone pointed out that it can be done in the depends clause of the jboss.xml for the ejb by specify the JMX name dependency. Also the fix isn't as trivial as it seemed.
I think it's great that we can have individual beans have dependency on other beans. Because of that, I don't know if having this ordiner in the application.xml is "such a hot idea".
Trying to my life easier