Skip to content

robsonbittencourt/payara-micro-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages