-
Core Java
Looking into the JDK 16 vector API
JDK 16 comes with the incubator module jdk.incubator.vector (JEP 338) which provides a portable API for expressing vector computations. In…
Read More » -
Kotlin
Kotlin dependency injection with Koin
Dependency injection is a common technique in today’s software design. With dependency injection we pass dependencies to a component instead…
Read More » -
Enterprise Java
REST API Design: Dealing with concurrent updates
Concurrency control can be an important part of a REST API, especially if you expect concurrent update requests for the…
Read More » -
Enterprise Java
Validation in Spring Boot applications
Validation in Spring Boot applications can be done in many different ways. Depending on your requirements some ways might fit…
Read More » -
Enterprise Java
REST: Partial updates with PATCH
In previous posts we learned how to update/replace resources using the HTTP PUT operation. We also learned about the differences…
Read More » -
Enterprise Java
HATEOAS without links
Yes, I know this title sounds stupid, but could not find something that fits better. So let me explain why…
Read More » -
Kotlin
Validation in Kotlin: Valiktor
Bean Validation is the Java standard for validation and can be used in Kotlin as well. However, there are also…
Read More » -
Enterprise Java
REST: Sorting collections
When building a RESTful API we often want to give consumers the option to order collections in a specific way…
Read More » -
Enterprise Java
Improving Spring Mock-MVC tests
Spring Mock-MVC can be a great way to test Spring Boot REST APIs. Mock-MVC allows us to test Spring-MVC request…
Read More »