-
Kotlin
Kotlin – Try type for functional exception handling
Scala has a Try type to functionally handle exceptions. I could get my head around using this type using the…
Read More » -
Software Development
Kotlin – tail recursion optimization
Kotlin compiler optimizes tail recursive calls with a few catches. Consider a rank function to search for the index of an…
Read More » -
Enterprise Java
Spring Webflux – Writing Filters
Spring Webflux is the new reactive web framework available as part of Spring 5+. The way filters were written in a…
Read More » -
Enterprise Java
Annotated controllers – Spring Web/Webflux and Testing
Spring Webflux and Spring Web are two entirely different web stacks. Spring Webflux, however, continues to support an annotation-based programming model An endpoint defined…
Read More » -
Enterprise Java
Using Micrometer with Spring Boot 2
This is a very quick introduction to using the excellent Micrometer library to instrument a Spring Boot 2 based application and…
Read More » -
Enterprise Java
Raw performance numbers – Spring Boot 2 Webflux vs Spring Boot 1
My set-up for the performance test is the following: The sample applications expose an endpoint(/passthrough/message) which in-turn calls a downstream…
Read More » -
Software Development
Kata – implementing a functional List data structure in Kotlin
I saw an exercise in chapter 3 of the excellent Functional Programming in Scala book which deals with defining functional data…
Read More » -
Core Java
Testing time based reactor core streams with Virtual time
Reactor Core implements the Reactive Streams specification and deals with handling a (potentially unlimited) stream of data. If it interests you,…
Read More » -
Enterprise Java
Spring Webflux – Kotlin DSL – a walkthrough of the implementation
In a previous blog post I had described how Spring Webflux, the reactive programming support in Spring Web Framework, uses a…
Read More »