Hot Deployment Tomcat Eclipse Configuration

Hot Deployment Tomcat Eclipse Configuration

Apache tomcat is an open source application server which is used widely small or big project including if you want to some POC on your recently build application. First and foremost thing for any development which make coding simpler and development faster is do hot deployment of the code while server is up and running in debug mode and you make code change which should be visible immediately. Below are the steps to make hot deployment of code changes in eclipse where application runs on Tomcat server.

Pre configuration: This tutorial assumed you already configured Tomcat server in eclipse. If you are not sure please follow this tutorial

  • Once you configured tomcat in eclipse you will see below:

Hot Deployment Tomcat Eclipse Configuration

  • Now click Module –> Click web module –> Click Edit –> Uncheck Auto reloading enabled –> Click OK

Hot Deployment Tomcat Eclipse Configuration

  • Note: Hot deployment only work if you make code changes inside the method and if you create new method, class you will have to restart the server.

Reference: Tomcat deployment

Leave a Reply

Your email address will not be published. Required fields are marked *

I am not Robot *