Hot Deploy and Auto Deploy
|To enable these features, the relevant ecosystem plugin to your IDE of choice must be installed.|
Enabling either the Hot Deploy or Auto Deploy feature on your IDE of choice will allow you to simply deploy web applications to Payara Server and modify any Java class of the application, upon save, any changed files within the application will be redeployed.
Payara Server provides the Hot Deployment capability, which boosts the performance of the application redeployment operation and dynamically replaces the classloader of the application on each redeployment in the hot deploy mode. Hot deploy is significantly faster than a vanilla redeployment, boosting developer productivity.
Alternatively, Payara Server also allows for a full redeployment of the application automatically via the Auto Deploy feature. It will un-deploy the existing application and redeploy the new application on every save action. As the Auto Deploy feature performs a full redeploy of an application, it is slower than hot redeploy, which redeploys only the changed part of an application.
Eclipse IDE Plugin
To enable Auto Deploy from the Eclipse IDE, open The Server panel, double click the server name and expand the Publishing section to reconfigure the setting.
The Hot Deploy mode can be enabled from the Payara Server properties page to boost the deployment performance which reuses the existing application instance relative to the modified source.
NetBeans IDE Plugin
As there is no support for Payara 6 in the NetBeans IDE, there is also no support for Auto Deploy or Hot Deploy.
VS Code IDE Extension
Hot Deploy and Auto Deploy can be enabled in Visual Studio Code IDE from the Deployment Settings of Payara Server.