19 fevereiro 2019

Eclipse MicroProfile Starter



If you choosed Thorntail, then run the following command:

$ mvn clean package && java -jar target/hello_microprofile_world-thorntail.jar


or if you choosed the OpenLiberty, run the following command:

$ mvn clean package && java -jar target/hello_microprofile_world.jar


If you choosed another version then the following commands are used for the following servers:

Payara:

$ mvn clean package && java -jar target/hello_microprofile_world-microbundle.jar


Apache TomEE:

$ mvn clean package && java -jar target/hello_microprofile_world-exec.jar


KumuluzEE:

$ mvn clean package && java -jar target/hello_microprofile_world.jar


You find the test page at http://localhost:8181/index.html

Calling RestController
http://localhost:8181/demo/data/hello



Source: kodnito.com