1. Java and Spring

>> Java 8 StampedLocks vs. ReadWriteLocks and Synchronized

A practical look and benchmark using four modes of locking – synchronized, RW Lock, Stamped RW lock and RW optimistic locking. Nice writeup, lots to learn from this one.

>> Parsing a file with Stream API in Java 8

Short article on parsing a file using the new Java 8 Stream API – it’s a brave new world.

>> Writing Clean Tests – New Considered Harmful

Ever since this great talk on Global State and Singletons (on youtube), new has been “persona non grata” for me – this article is a great primer for some of the reasons why that is the case.

>> Preview Spring Security Test: HtmlUnit

This series that started a few weeks ago by introducing Spring Security 4 – this article (and the next) build on that momentum by showing how to use HtmlUnit to test your Spring MVC logic.

>> Preview Spring Security Test: Web Security

The new testing support for Spring MVC coming down the pike in Spring Security 4.

2. Technical

>> Is TDD Dead?

Home base for the TDD focused series of hangouts – I covered this in the last few weeks so I won’t harp on it here – the recordings are there if you want to take a look. Part 4 will be live in a few days (on the 4th of June).

>> Rest API best(?) practices reloaded

Some solid practices to pay attention to when designing your REST API; and the cool thing about this article is that it’s clearly based on practical experience building APIs for clients – and not the “It needs to be RESTful because it just does” school of though.

3. Musings

>> Shame is good

And in the same vein, a though about moderation and how some negative aspects of development can have a positive effect on your work.

Course – LS – All

Get started with Spring and Spring Boot, through the Learn Spring course:

>> CHECK OUT THE COURSE
Comments are closed on this article!