An simple aplication to know how payara micro works
Payara Micro enables you to run WAR files from the command line without any application server installation.
This project have a image in DockerHub. It's just a test, with the goal of demonstrating use with Docker.
docker run -d -p 8080:8080 --name=payara-micro robsonbittencourt/payara-micro-test
Download Payara Micro jar in the project download page.
## Build the application
mvn clean package
## Create UberJar with embedded Payara Micro
java -jar PATH_TO_PAYARA_MICRO_JAR --deploy target/payara-micro-test.war --outputUberJar payara-micro-test.jar
## Run generated UberJar
java -jar payara-micro-test.jar
Acess the following address to see the result http://localhost:8080/payara-micro-test/rest/calculate/doubleOf/10
Robson Bittencourt - @rluizv - robson.luizv@gmail.com
Distributed under the MIT license. See LICENSE for more information.