I'm migrating from JBoss 5.1 to JBoss 7 and wondering how to define EJB/Queue dependencies within EJBs and WARs (for e.g. startup ordering). With 5.1 there was the <depends> in jboss-web.xml and jboss.xml to achieve that.
Now when I'm trying to use that in 7, I get a ParseException. It seems that is no longer supported. So what is the recommended way of defining this in JBoss 7?
I've already read about jboss-deployment-structure.xml but I'm not sure if this is the right place for JEE dependencies.