Introduction to IntelliJ IDEA
IDEA is the full name IntelliJ IDEA. It is an integrated environment for Java language development. IntelliJ is recognized as one of the best Java development tools in the industry. Its functions can be said to be extraordinary in terms of intelligent code assistants, automatic code prompts, reconstruction, J2EE support, various version tools (git, svn, github, etc.), JUnit, CVS integration, code analysis, innovative GUI design, etc. IDEA is a product of JetBrains, the company headquartered in Prague, the capital of the Czech Republic, and mainly developers are known for their rigorous Eastern European programmers. Its flagship version also supports HTML, CSS, PHP, MySQL, Python, etc. The free version only supports a few languages such as Java.
IntelliJ IDEA - JRebel installation tutorial
What can JRebel do?
JRebel is a hot deployment plugin. When your java-web project run/debug in tomcat and modify a certain java file, tomcat cannot compile the modification of this file in real time and reflect it into the running project. JRebel can solve the problem of modifying java files at will and dynamically feeding them to the running project in the run state of the project.
Maybe you said you can do this and modify the configuration of server.xml.
<Context path="/helloapp" docBase="helloapp" reloadable="true"/>
But the consequence of changing the java code is that tomcat will restart the entire project.
Go straight to the topic
1. Get and install JRebel plug-in
1. Download address of JRebel official website
https://zeroturnaround.com/software/jrebel/download/#!/free-trial
Register to get 14 days of free use. N words are omitted here for the registration process. I believe everyone can register and download it. The charging problem will be solved for everyone below, so there is no need to worry.
How to install it after downloading?
I will take one of them here to demonstrate the local installation.
2, or directly operate in IDEA to obtain the JRebel plug-in
The installation is complete, remember to restart IDEA to make the plug-in you just installed take effect.
2. Activate
http://idea.lanyus.com/ilanyu
Thank you to the IDEA open source community http://www.ideajava.org/
Three: Use
Configuration is complete!
After starting the project
Modify the java code arbitrarily, save ctrl + s, update classes and resources.
The operation is as follows:
Summarize
The above is the tutorial on the installation and use of the IntelliJ IDEA hot deployment plug-in JRebel introduced to you. 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!