lubomyr myronyuk B7ZA7c6aPyM unsplash scaled - ZALANDO LOGBOOK
Java, Micronaut, Ops

ZALANDO LOGBOOK 

Do you need http request and response logging without it polluting your business code? Use Zalando Logbook and add this aspect to your stack! In this post we will add logging for all http requests and play around with the configurations. For more in depth…

elena mozhvilo rxh2BtiSOFM unsplash scaled - UPX IMAGE
Docker, Java

UPX IMAGE 

Do you want smaller images with a faster startup time? Use UPX to compress your executable inside your image. Use a UPX image! For more information on the internals of UPX take a look at their website here. Or at the source code of UPX…

daniel kuruvilla tSJc5U6f1M4 unsplash scaled - JIB MAVEN PLUGIN
Docker, Java

JIB MAVEN PLUGIN 

Do you need a simple way to build docker images for your java with maven applications? Use the jib maven plugin and let maven do the heavy lifting! For a complete overview of all capabilities of the jib maven plugin take a look at the…

wonderlane T MX9AIaLvU unsplash scaled - MAVEN ARCHETYPE
CI/CD, Java

MAVEN ARCHETYPE 

Are you copying an old maven project every time you need a new one? Maybe a maven archetype is the solution for you! In this post we will create a maven archetype to quickly create a micronaut graphQL API. A different guide on how to…

hans reniers lQGJCMY5qcM unsplash scaled - MICRONAUT TESTING
gRPC, Java, Micronaut

MICRONAUT TESTING 

Having trouble testing your micronaut application? Or just interested on my take on micronaut testing? Just read along! In this post we will make some integration and unit tests for a micronaut gRPC API. For a wider view of the micronaut testing capabilities look at…

anton nazaretian lQsukG4AVKo unsplash scaled - CREATE A MAVEN PLUGIN
CI/CD, Java

CREATE A MAVEN PLUGIN 

Do you want to incorporate a task in your maven build? Discover how to create a maven plugin! In this post we will create a plugin that will alter a protobuf specifications file. A more in depth guide is made by apache and can be…

paz arando AzV7Ek6gap8 unsplash scaled - GRPC WITH MICRONAUT
gRPC, Java, Micronaut

GRPC WITH MICRONAUT 

Are you sick of writing client libraries for all your clients? Do you have trouble sticking to a contract-first approache with REST? Use gRPC! Specifically gRPC with micronaut! To get familiar with micronaut check out this previous post on micronaut. The complete code for this…

henry co pjJdOE2XBRU unsplash scaled - OAS3 AND SPRING BOOT
Java, Spring Boot

OAS3 AND SPRING BOOT 

Looking for an easy way to document your Spring Boot API following the OAS3 specification? Use a Springdoc documentation endpoint, for OAS3 and Spring Boot! In this post we set up Springdoc and add documentation to an example endpoint. The code for the Springdoc project…

janko ferlic specialdaddy YP3WCRJzPOI unsplash - SPRING AUTOCONFIGURE
Java, Spring Boot

SPRING AUTOCONFIGURE 

Ever wondered how defining a property in Spring applications can automatically configure functionality? We are going to create this ourselves with Spring autoconfigure. We are going to setup a controller with endpoint with only a dependency and a property. For a more in depth discussion…

bryce evans 8V8 zc0ZsZg unsplash - JAVA TO KOTLIN
Java, Kotlin

JAVA TO KOTLIN 

For Android developers there is a shift going on from Java to Kotlin. Here we are going to look at some Kotlin features that caught my eye. My overall impression is that it’s Java but more concise and more safe. Let’s have a look. For…

gregory culmer 1330307 unsplash - JACKSON ANNOTATIONS
Java, Spring Boot

JACKSON ANNOTATIONS 

Jackson is a helpful tool when building REST API’s. In this post I will explain what Jackson annotations I use all the time. There are of course many more Jackson annotations for all situations (example tutorials here). Here we focus on the things you want…