Spring Boot Security HttpFirewall
Did you know Spring Boot Security gives us a fully functional HTTP Firewall out of the box? Don’t worry if you didn’t because not many people do! In this post I’ll explain what Spring’s HttpFirewall is, what type of security protection it offers and where it’s positioned in Spring’s Security.
Spring Nested Transactions
Spring nested transactions are a bit like the black sheep of the transaction family – easily misunderstood and cast aside in documentation. Nested transactions are however incredibly useful for use cases consisting of large bulk updates and/or operating over unreliable connections. Let’s take a look at how we can bring this black sheep back … Continue reading “Spring Nested Transactions”
Generating a Random Number in Java From Atmospheric Noise
When it comes to generating a random number in Java, we have several options. However I doubt none are as intriguing or as random as what you’ll learn about in this post. If your interested in how to generate a truly random number in Java by using the earth’s atmospheric noise as it source, then read on … Continue reading “Generating a Random Number in Java From Atmospheric Noise”
JDK 12 Switch Expression – Preview Feature
JDK 12 has introduced some much needed change to the switch statement. Our good old switch statement is being re-vamped and can now also be used as an expression. Learn how its new design eliminates common irritants, packs succinct syntax and provides exhaustive case coverage … Continue reading “JDK 12 Switch Expression – Preview Feature”