IntelliJ idea Configure JRebel automatic thermal deployment

Source: Internet
Author: User

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.

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.