Mastodon Icon GitHub Icon LinkedIn Icon RSS Icon

Tag Spring

Polymorphic Class Serialization in Spring and MongoDB

Polymorphic Faces.

I was recently faced with the perplexing problem of making Spring and MongoDB serialize/deserialize a polymorphic class. Initially, it seemed like a simple task, but it proved to be more complicated than anticipated. Allow me to share my solution.

How to document a Kotlin/Spring application with Springdoc and OpenAI

Header image for How to document a Kotlin/Spring application with Springdoc and OpenAI

Here we go again with a new article derived from my work notes. As you already know, I am rewriting a backend application in Kotlin and — in the process — I am improving all the horrors of legacy code I can find. In this article, we will look at one critical aspect of software development (especially for REST applications): the documentation.

How to convert a Java/Spring project to Kotlin

Header image for How to convert a Java/Spring project to Kotlin

In the last week I converted a medium-sized legacy Java/Spring codebase to Kotlin. In this article I’ll discuss the pro and the challenges I faced during this transition.