jrebel
JRebel is a set of JavaEE development tools. JRebel allows development teams to complete more tasks in a limited time to correct more problems and release higher-quality software products. JRebel is a paid software, and users can download the 30-day evaluation version from the official JRebel site.
Jrebel can quickly achieve hot deployment, saving a lot of restart time and improving personal development efficiency.
Rebel is a JAVA virtual machine plug-in, which allows JAVA programmers to see the impact of code changes on an application in real time without redeployment. JRebel allows you to see changes in code, classes and resources in real time, and you can upload them one by one instead of deploying them all at once. When programmers make modifications to any class or resource in the development environment, this change will be directly reflected in the deployed application, thus skipping the construction and deployment process, saving up to 5.25 weeks of deployment time per year.
Install jRebel plug-in in IntelliJ IDEA (the advantage is that you don’t need to restart the program, all changes can take effect, which is a very magical thing)
1. Open IntelliJ IDEA and click File -> Settings -> Plugins, as shown below:
(I have already downloaded it here, so it is uninstalled)
2. Configure IDEA: command+shift+a in Idea, enter registry in the pop-up floating layer;
3. Enter the following interface, select compiler.automake.allow.when.app.running, and exit the interface.
4. Then set idea to automatic compilation.
5. Configure Jrebel in the project: Right-click on the project's src/resources folder, and JReble>rebel.xml at the bottom of the pop-up menu. As shown in the picture:
6. Right-click in the startup class and start with Jrebel Debug or Run;
/*After the installation is completed, IntelliJ IDEA will be requested to restart, and then it will pop up for free to use for several days. The specific cracking method is as follows: 1. Visit https://my.jrebel.com/ to obtain the regular activation code by binding to Facebook or Twitter account; */
You can register an account through Facebook or Twitter. I use Facebook,
2. https://zeroturnaround.com/software/jrebel/, click this URL, and the following interface appears:
3. Fill in the registration information, note that the company name does not necessarily have the real name, but it must be consistent with the registration. When filling in FULL NAME, the format is Compant + space + Job Title in the Jrebel account; these two contents can be seen in the My Profile in your Jrebel.
4. Then you can get the following interface:
5. Copy these contents to the activation interface in IntelliJ IDEA. The activation interface is as follows:
Summarize
The above is an illustration of the tutorial on using jRebel for Java hot deployment in IntelliJ IDEA introduced to you by the editor. I hope it will be helpful to you. If you have any questions, please leave me a message and the editor will reply to you in time. Thank you very much for your support to Wulin.com website!