This project compares different deployment configurations of JavaEE micro-service.
The application is packaged as a war.
mvn wildfly:run
Wildfly distribution is downloaded and unzipped in target directory. The application is packaged as a war and deploy to Wildfly.
More information : http://wildfly.org/swarm/
mvn clean package -Pswarm
The application is packaged as a fat
jar with a some wildfly modules embedded : micro-javaee-swarm.jar
.
You can start the application with :
java -jar target/micro-javaee-swarm.jar
More information : http://www.payara.co.uk/introducing_payara_micro
mvn clean package -Ppayara
The application is packaged as a war. Payara micro is downloaded and put in target directory.
You can start the application with Payara micro as bootstrap :
java -jar target/payara-micro.jar --deploy target/micro-javaee.war
More information : https://rmannibucau.wordpress.com/2014/03/24/java-jar-my-app-in-tomee-jar/
mvn clean package tomee:exec -Ptomee
The application is packaged as an executable jar. At startup, TomEE is unpacked just near the jar.
You can start the application with :
java -jar target/micro-javaee-exec.jar
More information : https://ee.kumuluz.com/
mvn clean package -Pkumuluzee
The dependencies are copied into target/dependency.
You can start the application with :
CONTEXT_PATH=/micro-javaee java -cp target/classes:target/dependency/* com.kumuluz.ee.EeApplication