I'm interested in knowing the recommended way of deploying Custom MBean Services.
I've looked around alot and found different solutions ranging from specifying it as a EJB-Module in the application.xml to simply dropping a *-service.xml descriptor in the JBoss deploy directory while deploying the application.
To me it seems like often these services actually should be deployed separately from any application when it isn't coupled to the application itself. Is there a recommended way of doing this?
Could anyone please shed some light over this subject?