Home » Kotlin

Tag Archives: Kotlin

Json Patch and Json Merge Patch in Java

 Json Patch and Json Merge Patch both do one job well – a way to represent a change to a source json structure.   Json Patch does it as a series of operations which transforms a source document and Json Merge Patch represents the change as a lite version of the source document. It is easier to show these as an ...

Read More »

Coroutine based Spring boot webflux application

I have worked with Spring Framework for ages and it still manages to surprise me with how cutting edge it continues to be but at the same time enabling a developer to put together a fairly sane app. The most recent surprise was with how it enables programming a web application with Kotlin coroutines. Coroutines is a fairly complicated concept ...

Read More »

AWS SDK 2 for Java and storing a Json in DynamoDB


AWS DynamoDB is described as a NoSQL key-value and a document database. In my work I mostly use the key-value behavior of the database but rarely use the document database features, however  the document database part is growing on me and this post highlights some ways of using the document database feature of DynamoDB along with introducing a small utility ...

Read More »

Paging Library 3 and Content Provider

I needed to display the contents of a Android content provider in a recyclerview with pagination. I also wanted to try out version 3 of the Android Paging Library (which is currently in 3.0.0.alpha2 release), but most of the sources of documentation and tutorials are targeted at accessing either a network (e.g. Retrofit) or a database. So I wrote a ...

Read More »

AWS DynamoDB version field using AWS SDK for Java 2


It is useful to have a version attribute on any entity saved to anAWS DynamoDB database which is simply a numeric indication of the number of times the entity has been modified. When the entity is first created it can be set to 1 and then incremented on every update.  The benefit is immediate – an indicator of the number ...

Read More »