Having to restart tomcat whenever you make a change

后端 未结 8 956
名媛妹妹
名媛妹妹 2020-12-04 18:46

Is there a way around having to restart tomcat every time a small change is made in java code?

8条回答
  •  自闭症患者
    2020-12-04 19:00

    Even if Tomcat is generally very fast on the startup, it depends very much on your application, how quickly it can initialize itself. If there is a damn big Spring application context, with all kinds of integrations and Hibernate mappings, I'd be pretty sure that the boot will take 1,5 seconds to start Tomcat, but 1,5 minutes to start your application. JRebel could really help here.

提交回复
热议问题