Category Archives: Docker

CompletionStage support in server-side JAX-RS

JAX-RS 2.1 (part of Java EE 8) now supports returning a CompletionStage to mark the request as eligible for asynchronous processing. This is in addition to the AsyncResponse API which has been available since JAX-RS 2.0 (Java EE 7) Even the Client API has … Continue reading

Posted in Docker, Java, Java EE | Tagged , , , , | Leave a comment

CDI (2.0) Async Events

Glassfish 5 builds for Java EE 8 are rolling along… here is another Docker based example on Github. This time it’s asynchronous events in CDI 2.0 (JSR 365) Steps Just follow the README… just a bunch of docker commands to get … Continue reading

Posted in Docker, Java, Java EE | Tagged , , , , , , , , , | Leave a comment

Simple sample: Dockerized Java app using a maven plugin

It’s good to be able to build Docker images directly from artifacts (JAR, WAR etc.) produced by Maven builds. One useful tool is the Spotify Docker Maven plugin which can help with this This example (available on Github) uses Jersey Grizzly connector to … Continue reading

Posted in Docker, Java | Tagged , , , , , | Leave a comment

Simple sample: Oracle NoSQL with Docker Compose

Here is an example of using the Dockerized Oracle NoSQL image. This, along with many other Dockerized Oracle products are available here Key points Demonstrates usage of Docker Compose : co-ordinates an Oracle NoSQL container and a dependent container running its (Java) client Docker … Continue reading

Posted in Docker, Java, Java SE | Tagged , , , , , , | Leave a comment

‘Micro’ Java EE on the cloud with ‘dockerized’ Payara

Thankfully I don’t have to write much because I have a screen cast.. Yay ! My second one [ trying to get better at this 😉 ] The idea is to show you how easy it is to get up … Continue reading

Posted in Cloud, Docker, Java, Java EE | Tagged , , , , , , , | Leave a comment