The hot deployment means : The process of adding(deploying/redeploying) new components/deployments to a running server without stopping and restarting the application server or application.deploying or re-deploying an application while the server is running.
There are three ways to deploy an application:
- Admin console (supported in standalone/domain mode)
- CLI (supported in both mode)
- File system based deployment (supported only in standalone/domain mode)
In the standalone mode, user can deploy an application using $JBOSS_HOME/standalone/deployments directory only in standalone mode while server is running, and can control this behavior by enabling/disabling the deployment scanner
In domain mode, deployment scanner subsystem is not defined and disabled by default hence File system based deployment is not supported in it.
The deployment through CLI or Admin console is a hot deployment. "Hot redeployment" is not recommended(using CLI and Admin console).