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
- Host: GitHub
- URL: https://github.com/abhirockzz/javaee8-jaxrs-server-async-pipeline
- Owner: abhirockzz
- License: bsd-3-clause
- Created: 2017-07-27T15:45:34.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-08T09:02:47.000Z (about 8 years ago)
- Last Synced: 2025-02-13T16:32:21.054Z (8 months ago)
- Topics: completable-future, docker, java-8, javaee8, jaxrs, jersey
- Language: Java
- Homepage: https://abhirockzz.wordpress.com/2017/08/07/completionstage-support-in-server-side-jax-rs/
- Size: 16.6 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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..