Blog Archives

Kotlin: Understanding properties

In this post I am going to look into Kotlin properties [1] from a Java developers perspective. By a few examples and by looking into the generated code. I have created an example project on GitHub. You will find a

Tagged with: , ,
Posted in Kotlin

Spring Boot: A bit more cool with Kotlin

In the context of my favorite framework, Spring Boot, I have recently started to explore the effect of using the Kotlin 1.1 programming language (as an alternative to Java 8). This post describes a few language features that may be

Tagged with: ,
Posted in Kotlin, Spring

Java EE: Hello World, Kotlin

Are you a savvy Java EE 7 application developer? My bet is then, that you are using Java 7/8 for developing your favorite components (EJBs, CDI beans etc). In this post I am going to show how you can develop

Tagged with: , , , , ,
Posted in Java EE, Kotlin, WildFly

Spring Boot: Hello World, Kotlin

In this post I show how you can create a Spring Boot 1.5 application using Kotlin 1.1 (as opposed to typically Java 8 in these times). The example I’ve created is a typical “Hello World” example. I have chosen to

Tagged with:
Posted in Kotlin, Spring

Spring Boot: Prometheus actuator endpoint

In this post I show how you can add support for Prometheus in Spring Boot applications. Step 1 of 2: Add the Prometheus Spring Boot Starter You can get Prometheus support in Spring Boot applications via a so-called “starter”. Here

Tagged with: ,
Posted in Spring

Spring Boot: Controlling timezones with Hibernate

In this post I show how you, from a Spring Boot application, can control the timezone used by Hibernate when it communicates timestamps with the database. This post is inspired by a very similar recent post by Vlad Mihalcea [1], Hibernate

Tagged with: , , ,
Posted in Hibernate, Spring

Spring: Bean qualification

In this post I present how you can control a situation in which there are multiple beans that qualifies for an injection point in Spring. The material here has been tested with Spring Framework 4.3. The problem Let’s first take a look at the

Tagged with: , ,
Posted in Spring