Reputation: 105
How to configure Tomcat server in debug mode for Eclipse to support hot deployment? Hot swap or hot code replace without restarting the Server, which can speed up the development.
Upvotes: 1
Views: 4793
Reputation: 5492
Hot swap will change the modified class byte code on disk, which will trigger tomcat redeploy. Also hot swap supports only simple changes within method body. So hot swapping on tomcat is not working out of the box. There are third party solutions for this, like JRebel.
Upvotes: 0
Reputation: 695
We can make some changes in tomcat to support hot deploy, there can be different ways to achieve that.
One of the simplest way is making change in tomcat setting in eclipse/STS,
Upvotes: 1
Reputation: 1100
I'm not sure that it is possible without redeploy and without external tools. For case to update only updated classes/resources I use HotSwapAgent tool But this tool have some limitations and I wouldn't recommend it for prod.
Upvotes: 0