Hot Deployment in Jboss EAP 5.1 can be controlled by 2 ways:-
1. ${config}/deploy/hdscanner-jboss-beans.xml deployment descriptor will enable deployment scanning by default; removing it will disable it.
2. The scanEnabled attribute can be added to deploy/hdscanner-jboss-beans.xml. Setting this attribute to false will disable scanning, and setting this attribute to true will enable it.