Hot deploy with Netbeans

Asked

Viewed 265 times

-2

I returned to work in a development company and I am with a certain difficulty and impatience with the Netbeans and Jboss, taking into consideration that I worked at the former dev company with Eclipse and Tomcat and the process was simpler...

And at the suggestion of a person outside the company told me q it is possible to work with process where you change project files as page files, Java etc without need to give clean e build.

The machine I use is good but every time I need to change a file Java and need to give a clean e build in the Netbeans.

The design is done using Struts 1, Jboss 4.0.1 and Netbeans 8.2.

In short, there is how to set up so I don’t have to stop the server all the time and give the clean and build to change files in the project.

1 answer

1

I haven’t touched Jboss in a while, and I don’t know if your project is in Maven or Ant, so my answer will be very generic.

In principle, it is necessary to configure your project as follows:

  1. Choose Jboss server (located in the category Run)
  2. Enable Deploy on Save

Once configured, the routine is to just click the button Run. inserir a descrição da imagem aqui

Your use of Jboss may need additional settings, or have other impediments, I suggest you try the solutions of Hot deploy of JSF pages in Netbeans to Jboss standalone.

  • Good morning, as I’m using version 4 of JBoss I believe that the version does not support this change, to mark the checkbox "Deploy on Save"

  • I set up Jboss, and even managed to run it the way I explained. Initially, it runs correctly, but then Netbeans ignores any changes. The release of this version of Jboss was 13 years ago, it would not be better to upgrade your system to work on Wildfly?

  • Unfortunately I have no way to update

Browser other questions tagged

You are not signed in. Login or sign up in order to post.