N
N
NoMoneyException2016-11-30 22:12:58
Java
NoMoneyException, 2016-11-30 22:12:58

How long does a tomcat + maven project build?

Guys, the project is going to be very long. This seems to be the norm, but is there really nothing better than rebuilding all half a minute with any change in the code? mb is there any live reload?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vitaly Vitrenko, 2016-12-01
@Vestail

Hot Swapping With Maven, Jetty and IntelliJ

E
Eugene, 2016-12-01
@zolt85

You can look at JRebel .
True, it costs money. There is a 14 day trial.

O
Odissey Nemo, 2016-12-08
@odissey_nemo

HotSwap is our everything (see previous answer).
I have glassfish (on localhost) + maven + weak computer. IDEa development environment. A full cycle, from source to showing the page in the browser, in the automatic mode of launching the project in JIdea, is completed in 6-8 minutes.
When debugging without changing the class structure (only the code inside the methods), separate classes are compiled and loaded (hotswap) directly into glassfish, it takes a few seconds. In principle, enough for debugging.
Hotswap works exactly the same with Tomcat. Checked with Eclipse.
Compiled via maven EAR for loading into glassfish, which has almost no external libraries, except for small ones from Apache, has about 40 gigabytes. The re-deploy itself takes about 40 seconds. For Tomcat, I think the re-deploy will be even faster.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question