There’s a long back story to Java annotations. Introduced in 2004 for Java 5 and supported by the javac
compiler since Java 6 in 2002, Read more
Tag: java
Testing Kotlin with Spock Part 3 – Interface default method
Kotlin allows you to put method implementation in an interface. The same mechanism can be found in Java interfaces as default methods (and also Groovy Read more
Testing Kotlin with Spock Part 2 – Enum with instance method
Testing Kotlin with Spock Part 2 – Enum instance method
The enum class with instance method in Kotlin is quite similar to its Java version, Read more
Spring Boot 2.0 HTTP request metrics with Micrometer
Introduction
Brand new Spring Boot 2.0 has just been released and TouKs couldn’t wait to try it in the production. One of the newly added Read more
MapStruct mapper injection in OSGi Blueprint
Vavr, Collections, and Java Stream API Collectors
Deploy WSDL file as OSGI Bundle in Apache Karaf
Formatting Java Time with Spring Boot using JSON
The aim of this post is to summarize and review ways of formatting Java Time objects using Spring Boot and Jackson library.
This post is Read more
Do not use AllArgsConstructor in your public API
Introduction
Do you think about compatibility of your public API when you modify classes from it? It is especially easy to miss out that something Read more
Primitives and its wrapped types compatibility
Introduction
How often do you think about possible changes in your API? Do you consider that something required could become optional in future? How about Read more