robsonbittencourt / payara-micro-test

An simple aaplication to know how payara micro works

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Payara Micro test

An simple aplication to know how payara micro works

Build Status Docker Stars Docker Pulls image-size

Payara Micro enables you to run WAR files from the command line without any application server installation.

How to run with Docker

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

How to build and run manually

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

Meta

Robson Bittencourt - @rluizv - robson.luizv@gmail.com

Distributed under the MIT license. See LICENSE for more information.

https://github.com/robsonbittencourt/payara-micro-test

About

An simple aaplication to know how payara micro works

License:MIT License


Languages

Language:Java 100.0%