Awesome Open Source
Awesome Open Source

watch and deploy (WAD)

WAD watches changes in src\main\java folder, builds the project using the pom.xml and deploys the ThinWAR into the configured folder.


Download the executable and self-contained wad.jar


Launch WAD from within your ThinWAR-project created with javaee8-essentials-archetype.



[THIN_WAR]/java -jar wad.jar /openliberty/wlp/usr/servers/defaultServer/dropins/ dist

wad can be also configured in ~/.wadrc. Each deployment folder in an new line:


On each source change WAD will:

  1. Use the current directory as the service name
  2. Build the project using the pom.xml found in the directory
  3. Copy the ./target/[name].war into the path used as parameter

You only have to write code and save it frequently like this:


common deployment directories

WildFly wildfly-[VERSION].Final/standalone/deployments

OpenLiberty openliberty-[VERSION]/usr/servers/defaultServer/dropins

Payara payara/glassfish/domains/domain1/autodeploy

TomEE tomee-[version]/webapps

deploy'em all

WAD also supports simultaneous deployment to multiple servers

[THIN_WAR]/java -jar wad.jar /openliberty/wlp/usr/servers/defaultServer/dropins/ wildfly/standalone/deployments payara/glassfish/domains/domain1/autodeploy tomee/webapps

run from anywhere

A a shell script:

BASEDIR=$(dirname $0)
java -jar ${BASEDIR}/wad.jar "[email protected]"%

will install WAD "globally". Now you can launch WAD from any directory you like e.g. /openliberty/wlp/usr/servers/defaultServer/dropins/


"Improved Java / Jakarta EE Productivity with" by @rieckpil

Any questions left? See you at

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Java (710,532
Utility (4,635
Deployment (1,802
Javaee (726
Tomcat (547
Watch (404
Speed (253
Microprofile (162
Jetty (148
Wildfly (142
Related Projects