Skip to main content

You are currently viewing the Trifork Blog, to view our full website please go to Trifork.com

Spring Framework: Becoming the source of modern Java

A retrospect with Trifork’s CTO of Enterprise Application Development Joris Kuipers It may be surprising to realise that it’s been 16 years since the Spring Framework was first released. From its beginnings as an inversion of control container shared with a tight-knit community, Spring has evolved to a fully-fledged ecosystem of its own. No longer […]

Managing Spring Boot Microservices with Spring Boot Admin on Kubernetes

In this blog: Prerequisites Introduction The top cool features we like and use most The service journal Overall View, what is deployed Change LOG levels DB migrations Creating an SBA Application Dependency configuration Spring Boot Admin Spring Boot Application Configuration of the Admin Application Summing up Running SBA on K8s Conclusion References Prerequisites Knowledge of: […]

Dockerising your legacy integration tests

As most of you will know, every now and then you can expect the question ‘Can you help fix something on this ancient project?’ According to the Universal Software Ageing table, that means anything from last month to much, much older. I got such a question recently, being in-between projects, and this project fell squarely into […]

Spring Data Native Queries and Projections in Kotlin

Spring Data Native Queries and Projections in Kotlin

This blog describes the solution to mapping native queries to objects. This is useful because sometimes you want to use a feature of the underlying database implementation (such as PostgreSQL) that is not part of the JPQL standard. By the end of this blog you should be able to confidently use native queries and use […]

Exposing asynchronous communication through a synchronous REST API with Spring 5

Exposing asynchronous communication through a synchronous REST API with Spring 5

On my current project, we opted not to use REST for the communication between our services. Instead we make use of AxonIQ’s AxonHub, which acts as a specialized message broker. Messages can be of three types: Command – You want to change something Event – You want to inform others of something that happened Query […]

Writing less code

Have you had that feeling that you have to write too much code to build simple functionality? Some things just feel repetitive, they feel you should be not have to write them yourself, instead a framework should make your life easier. Recently I’ve been building a project in Java/Spring, and after some time I started wondering […]