You can create a .sar file which has a META-INF/jboss-service.xml that defines your mbean. You could then jar up the files that make up ur MBean and package that in the sar as well. so ur SAR structure wud be something like
You could also deploy this unpacked in the same structure, just that the directory name has to end with ".sar".. Checkout the deploy directory in jboss for any examples. Basically anything thast in the deploy dir is hot-deployable.