I know that in JBoss 7.1.1 we can deploy a datasource as a standalone resource. I wonder if there is a way like this to deploy XML files with MBean service definitions. I haven't found any article about it yet.
Thanks in advance
you cannot deploy bare mbean xml but jboss specific sar deployment maintaining descriptor META-INF/jboss-service.xml along with your own mbeans classes
see this article for more details
Retrieving data ...