-
Shortcut
docker pull abhirockzz/javaee-cdi-concurrency-utilsdocker run -it -p 8080:8080 abhirockzz/javaee-cdi-concurrency-utils
-
Build it yourself using the
Dockerfilein the project (it uses this Payara image as the base)docker build -t <your tag> .docker run -it -p 8080:8080 <your tag>
git clonethe project and executemvn clean install- Deploy
javaee-cdi-concurrency-utils.warintargetdirectory to any of the Java EE 7 containers
- execute a HTTP
POSTtohttp://localhost:8080/javaee-cdi-concurrency-utils/tasks/- this initiates a task and returns the task ID
- execute a HTTP
GETtohttp://localhost:8080/javaee-cdi-concurrency-utils/tasks/<taskID>- it will give you a JSON payload with the task details
POSTa few more tasks....- execute a HTTP
GETtohttp://localhost:8080/javaee-cdi-concurrency-utils/tasks/allto get a JSON payload of all the tasks


