An open API service indexing awesome lists of open source software.

https://github.com/abhirockzz/javaee8-jaxrs-server-async-pipeline

Using CompletionStage support in JAX-RS 2.1 to build async pipeline
https://github.com/abhirockzz/javaee8-jaxrs-server-async-pipeline

completable-future docker java-8 javaee8 jaxrs jersey

Last synced: 6 months ago
JSON representation

Using CompletionStage support in JAX-RS 2.1 to build async pipeline

Awesome Lists containing this project

README

          

## To run....

- `git clone https://github.com/abhirockzz/javaee8-jaxrs-server-async-pipeline.git`
- `mvn clean install` - will create `booking.war` in `target`
- Create Docker image - `docker build -t .`
- Run ! `docker run --rm --name javaee8-jaxrs-server-async-pipeline -it -p 8080:8080 `
- what's your Docker host IP ? `docker-machine ip` e.g. 192.168.99.100

## Test it...

- `curl http://:8080/booking/cabs/abhi`
- hold on... 3-5 seconds
- you should see a message like this - `Your driver is john doe and OTP is 1234`

That's it..