All posts tagged with 'Spring'

Weekly digest 2022-46

16-Nov-22

Last week, I received quite a lot of really positive feedback for my first attempt at writing a digest. Thank you for that Kevin and Frederik, super kind of you! Even Payara picked it up. One thing that I have changed this week is my iPhone home screen from which I removed the Twitter app […]

Read the complete article »

Spring Security 5.1: Upgrade / Rehash stored passwords

15-Aug-19

In this post from early 2018, I described the new password infrastructure of Spring Security 5.0. As the post got some feedback the last couple of days, I jumped back a bit into Spring Security code and noticed this method here: PasswordEncoder#upgradeEncoding. Hm, what does it do? It turns out, it works together with the […]

Read the complete article »

Oh, all that entitlement…

13-Jul-19

There was a tiny tweet yesterday, resurrecting a talk from Christin: In 2011 I saw @ChristinGorman hold this fantastic lightning talk/rant at JavaZone, and I have never forgotten it. So, Christin, if you want some return on investment on your speaking, look no further. Here is this gem for you all to enjoy https://t.co/cBRRDg90EP — […]

Read the complete article »

Separation of concerns in Spring applications

17-May-19

TL;DR: Don’t surprise your fellow developers. Yesterday I learned – or realized again, don’t know – that one can add @CompenenScan to all Spring components and not only to @Configuration components: TIL A @​ComponentScan on a @​Service class in #Spring actually works and contributes to the application context. 🤯 — Michael Simons (@rotnroll666) May 16, […]

Read the complete article »

Validate nested Transaction settings with Spring and Spring Boot

25-Sep-18

The Spring Framework has had an outstanding, declarative Transaction management for years now. The configurable options maybe overwhelming at first, but important to accommodate many different scenarios. Three of them stick out: propagation, isolation and to some lesser extend, read-only mode (more on that a bit later) propagation describes what happens if a transaction is […]

Read the complete article »