Code samples from my presentation at JBCN Conference 2021.
Prerequisites: Java 11
Build the web-service application as a native container image:
./gradlew bootBuildImageRun the native image:
docker run --rm -p 8080:8080 web-service:0.0.1-SNAPSHOTSend a GET request:
http GET :8080Prerequisites: Java 11
Build the web-function application as a native container image:
./gradlew bootBuildImageRun the native image:
docker run --rm -p 8080:8080 web-function:0.0.1-SNAPSHOTSend a POST request:
echo 'piano' | http POST :8080Prerequisites: Java 16
Run a RabbitMQ container:
docker-compose up -dBuild the stream-function application as a container image:
./gradlew bootBuildImageRun the JVM image:
docker run --rm -p 8080:8080 stream-function:0.0.1-SNAPSHOT