Hot deploy on JBoss - how do I make JBoss “see” the change?

后端 未结 16 1555
傲寒
傲寒 2020-11-30 21:23

I am developing a Java EE application that I deploy over and over again on a local JBoss installation during development. I want to speed up the build by hot deploying my ap

16条回答
  •  忘掉有多难
    2020-11-30 22:08

    Unfortunately, it's not that easy. There are more complicated things behind the scenes in JBoss (most of them ClassLoader related) that will prevent you from HOT-DEPLOYING your application.

    For example, you are not going to be able to HOT-DEPLOY if some of your classes signatures change.

    So far, using MyEclipse IDE (a paid distribution of Eclipse) is the only thing I found that does hot deploying quite successfully. Not 100% accuracy though. But certainly better than JBoss Tools, Netbeans or any other Eclipse based solution.

    I've been looking for free tools to accomplish what you've just described by asking people in StackOverflow if you want to take a look.

提交回复
热议问题