Implementing JVM Hot Deployment with Jrebel, modifying classes without restarting Tomcat

Source: Internet
Author: User

One of the problems we often encounter with eclipse development is the need to restart Tomcat after modifying the class file to take effect, even if you use some Tomcat plug-ins, sometimes modifying the method name or adding a class, which also requires a reboot. With the Jolt Jackpot Jrebel, you can easily implement a JVM hot deployment, no matter how you modify the class without restarting Tomcat

First, download Jrebel, go to http://fly-hyp.javaeye.com/blog/350498, and then configure Eclipse



Add-noverify-javaagent:d:/youpath/jrebel.jar to the startup parameter here you need to change the path to your native, and sometimes you need to put Javarebel.jar in the project's Jar directory



You can then turn off the automatic restart of the server settings so that every time you modify the file, Eclipse will restart the service for you.




Implementing JVM Hot Deployment with Jrebel, modifying classes without restarting Tomcat

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.