Make NetBeans Web application hot deployment available

Source: Internet
Author: User

The biggest advantage of MyEclipse is that it can be easily implemented during web Application Development: After modifying the Java class, you can immediately refresh the page in the browser to see the modification effect, without Manually restarting the Web Server.

However, other functions of MyEclipse are significantly different from those of NetBeans.

 


========================================================== ========================================================== ========================

In NetBeans, you can also perform "Hot deployment" after modifying the Web application. However, after each modification, the memory of my 4G memory will overflow during the hot deployment of NetBeans.

Today, I rummaged through the menu in all corners of NetBeans and finally found the correct "Hot deployment" step in NetBeans.
To develop a Web project in NetBeans, you should use the "debug" status to run the Web application, so that you can press Alt + D after modifying the java code, then press Y to hot deploy the changed file.
Note: You must cancel the option "deploy when saving" in the Web project attribute. Otherwise, the java file will be saved slowly and the memory will overflow, you must cancel this option.

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.