I tried to deploy a dynamic MBeans, which work with Jboss 3.2.x, in 4.0. Unhopefully I got sometime a NotCompliantMBeanException throw during the pre registration. The funny thing is I didn't see a lot of difference between the running MBeans and the other except that they use external jar, which are of course included in SAR.
I am sure, I am missing something obvious. So if someone may help I will be thankful.