overview
Hot deployment means that after the code is modified, the modified code can take effect without stopping the application, which is conducive to improving development efficiency.
Hot deployment method:
Manual hot deployment: After modifying the code, recompile the project, and then start the application.
Automatic hot deployment: After modifying the code, there is no need to recompile the project, and the application automatically updates the code
Rebel
The following introduces the installation and use of the IntelliJ IDEA hot deployment plug-in JRebel:
(Taking IntelliJ IDEA 2018.3.6 and JRebel 2022.4.0 as examples)
1. First, click to download the JRebel version , select Version 2022.4.0, and click Download
2. After the download is complete, unzip it and put it in the plugins directory of IntelliJ IDEA
3. Next, open IntelliJ IDEA, click File and Settings..., a pop-up window, click Plugins, search for JRebel, you can see that it has been installed
4. Then, click Installed above , search for JRebel, check the plugin and click Apply
5. Then, a pop-up window, click restart
6. After restarting, click JRebel Activation in the figure
7. Pop-up window, configure Team URL and check the License Agreement, click Activate JRebel
Team URL:
1. Fill in https://jrebel.qekang.com/ + GUID
GUID generated URL
2. Fill in your own email
Note: Fill in the activation URL + generated GUID, JRebel version needs to be less than 2022.4.2
8. Finally, successfully completed
9. At the top right, click the start button to use