That's one of the things that as far as I know the EE (Java Enterprise Edition 5) does not address. This means that the implementation will be container dependent. In JBoss you will have to use jboss-beans.xml or you can write your own MBean your application will depend on :-)