Just using the command line, what is the fastest way to fire up the embedded glassfish server make a change to a file, recompile, then redeploy the code?
I'm using:
mvn embedded-glassfish:run
- change a line of code in vim
- recompile
- repackage project using:
mvn -pl mymodule/myproject package -DskipTests
- redeploy the server by pressing enter
That takes upwards of a minute plus to recompile and rebuild the war file. Can the embedded glassfish server be used on an exploded war dir? Is there a faster way to develop a servlet app?