Thanks for the write up.
Will it still be possible to define data sources inside an EAR using the JBoss specific file you shown here?
(Java EE 6 btw also mandates supporting data sources defined (not referenced) in EAR/META-INF/application.xml and via annotations on e.g. EJBs)