Spring Security 4.0 being announced makes me very excited. This first look goes into how to test secured methods – looks very clean – and the new @WithMockUser is going to be especially handy.
A nuanced discussion on building out a test suite in Spring, while keeping the DRY principle in mind. If you’re working with Spring (and chances are – if you’re reading my blog – you are) – this is well worth reading.
Latest and perhaps final installment of a series I’ve been covering on the Baeldung weekly review ever since it started – building an Spring application that is going to analyze and report on logging data. This is about packaging the app.
Spring HATEOAS is – in my view – one of the most interesting new projects in the Spring ecosystem. It is so very cool that Spring is looking at this as a first class citizen and moving it forward – check out the new Traverson API for a high level fluent API for discovering a Hypermedia service.
While I’m not personally doing work in Scala (I lean towards Clojure when it comes to JVM languages) – I found it interesting to see just how flexible Spring configuration has become.
A solution for a one-to-one relation with JPA 2.0. Short, useful and to the point.
A custom implementation of a ResultSet iterator necessary for working with the new Java 8 streams syntax. The solution is – like any other design decision – a compromise; however, understanding both sides of a compromise is usually where learning happens (at least for me) – which makes this a very nice read indeed.
Martin Fowler on Unit Testing. What else do you really need to know?
A very interesting little read about requiring SNI information or hard-failing if it’s not present. Very cool step to take, especially considering that we have ran out of IPv4 addresses last year.
One of the every once in a while posts that made me reconsider some stuff I was taking as a given. I like that.
Doing TDD is without a doubt a transformative practice for a developer. Realistically – it is also hard to stick with it.
It took me around 2 years of giving it the ol’ college try a few times until I really took the step of integrating it into my day to day. And there are still project where – for some reason or another – I don’t do it.
This article is a pragmatic view on what it means to do TDD.