Also if just ordering of deployments is problematic you could use deployment dependencies we introduced in 7.2
this way you can make sure you "framework" deployment starts before all others.
Deployment dependencies could not be used as they have some sideeffects. I already tried them in the past.
How do I order the deployments? Never heard about that.
I will have a deeper look at JMS. Right now they seem a bit complex and I need some time to understand them.
You may order deployments inside ear archive by using initialize-in-order in application.xml
From architecture point of view also consider use of CDI event observer facility