Goal
In Java Web Development, after updating the Java file, the general need to manually compile->redeploy (or restart) These two steps, waste a lot of life. Although the latest IntelliJ IDEA13 already supports hot deployment, you still need to press the key. And for the efficiency of the first, we must pursue automatic.
Next, Manual hot Deployment and JRebel automatic thermal deployment are described.
IntelliJ IDEA13 Manual Hot Deployment
Then, after you have modified the Java file, you need to manually click the button after compiling to hot deploy.
JRebel Automatic Thermal deployment
Jrebel is a Java Virtual machine plug-in that allows us to instantly see the impact of changes in code on an application without redeploying. Jrebel allows you to instantly see the changes in code, classes, and resources, and you can upload them individually instead of all at once.
Currently Jrebel is a charging plugin, which provides a special edition: Http://pan.baidu.com/s/1mgqlRq4
After installation is the official version of the activation:
A Jrebel button appears on the toolbar and starts the virtual machine by using this button:
Effect
You will then find that any changes you make to any document will be reflected instantly:
At the same time the console gets an output:
2014-10-13 00:15:23 jrebel:reloading class ' Com.hankcs.HelloServlet '.
The whole speed is very fast, much faster than the IntelliJ IDEA13 with the thermal deployment.