Workshop, Micro My Java (µµJ)
Details
In our next meetup in javaBin Oslo we'll host a workshop with Sigmund Hansen about microservices with micronaut.
As always, food and drink will be served from 17:00. The meetup starts at 17:30. The event will be held in English.
Workshop outline:
We all know the world has gone crazy for μ. μ this and μ that. Java is often used for microservices. Quite a few of them use Spring Boot, which I think is overkill for simpler services. The Eclipse Foundation has worked quite a bit on the Java EE Microprofile, which is another option, where you use Java EE features and small containers. Another popular approach is the use of the many micro frameworks that have flourished, e.g. Spark, Javalin, Ktor and the up and coming Micronaut.
Let's build a small microservice application with Micronaut, Graal, Substrate (ahead of time compiler that's part of Graal) and Docker containers. The service will be your standard, wonderfully CURLable To Do list RESTful JSON API, and we will see just how small we can get this service, and how fast we can make it start up. This will give you a quick and dirty introduction to the spanking new Micronaut microframework, that released version 1.0 in late October. It will also be an intro to very basic use of Graal and Substrate. You are expected to know Java and very basic use of Docker (although the application(s) will be possible to run without containers).
After this workshop, you should hopefully feel like running back to your hotel room, start building Java microservices and throw them at the clouds in the sky. Or at least inspired to experiment further with Java microframeworks and GraalVM.
Speaker bio:
Sigmund is currently a Java and Clojure developer at Uptime Consulting, and has worked with clients like Animalia, Schibsted Media, Aker Solutions and the Norwegian courts administration. He has worked on everything from monolithic behemoths and Swing clients to microservices with Angular or React frontends, and pretty much poked at everything in between. He has held workshops and talks at conferences since he started working, but also held quite a few at university during his studies.
Intended audience:
Java developers interested in building microservices and/or exploring Micronaut.
It's recommended that you have a laptop capable of running Docker containers, and that you have JDK 8 or higher installed. Although not needed for the workshop, the Micronaut CLI is recommended for bootstrapping projects.
