The Baeldung Weekly Review 21

1. Java and Spring

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

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.

>> SafeCurl “Capture the Bitcoins” Post-Mortem

The story of the “Capture the Bitcoins” bug bounty and experiment. Broken in 2 hours, then again and again – fascinating read. If you’re interested in security at all – this is the read of his week for you.

3. Musings

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

Leave a Reply

Your email address will not be published.