If jboss-beans.xml works,
When it works. :-)
I unfortunately haven't found the time to do this before 7.0.0.Final.
But it's getting higher on my TODO list. :-)
then basically a bean defined in that could do the deployment of e.g. datasources programmatically, just like the mbeans in JBoss AS 5 did, couldn't it?
I don't see why not.
A bean could definitely do the same ops as CLI client.