In a recent blog post, the Spring Security team announced that they’ll be deprecating the configuration setup where you subclass the WebSecurityConfigurerAdapter. Instead, you simply define beans that allow you to set up the SecurityFilterChain by calling methods on the HttpSecurity object, and configure the WebSecurity object using a configurer. These options have been available […]
The case of the lost id field
Chapter 1: a new case Morning arrived like a Windows Update you couldn’t postpone anymore, forcing you to accept a harsh new reality you didn’t ask for. As I biked by the Amstel river I wondered what the day would bring: I was visiting a client that was porting their old Spring-based monolith over to […]
Get the Inside Scoop on Trifork’s Podcasts!
We’re thrilled to announce our new series of blog posts based on our live Ask Me Anything (AMA) sessions! At Trifork, we often host renowned software experts as part of our collaborative initiative with GOTO Conferences. During these sessions, GOTO experts are invited to answer questions on topics related to programming and software. These subjects […]
Spring I/O 2019: a Trifork report
In 2010 I spoke at a new conference that Sergi Almar was organizing in Madrid about Spring. At that time it was mostly focused on Spanish attendees, and quite small. Over the years the conference grew larger and larger, moved to Barcelona and became the biggest community-driven Spring conference in Europe, and probably the world, […]
Top take-aways from TEQNation
Last week, on May 15, I had the pleasure of attending the TEQNation conference. While I had been to this NLJUG event before, it felt like my first time again. Not only because of the amazing new location—the industrial chic De Fabrique—also because it’s my first time attending as a budding programmer. Although, given the […]
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 […]
Retry functionality in a reactive programming context
Reactive programming can be used to solve a lot of different use cases. Forinstance, reactive programming can be really helpful for cases where timing is an issue. An example of such a case is retry logic with delay or backoff functionality. Let’s have a look at some different implementations using Project Reactor (https://projectreactor.io) for Java. […]
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
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 […]