1. Spring and Java

>> JUnit 5 Tutorial: Writing Nested Tests [petrikainulainen.net]

Hierarchical tests were sometimes entirely missing in the old JUnit.

>> Benchmarking JDK String.replace() vs Apache Commons StringUtils.replace() [blog.jooq.org]

It turns out that String.replace() uses the Pattern class internally – which results in a lot of unnecessary allocation 🙂

>> How to JOIN unrelated entities with JPA and Hibernate [vladmihalcea.com]

A quick guide to “joining” entities that do not reference each other.

>> The Java Evolution of Eclipse Collections [infoq.com]

Eclipse Collections are an interesting alternative to standard Collections API.

Also worth reading:

Webinars and presentations:

Time to upgrade:

2. Technical

>> Truly immutable builds [blog.frankel.ch]

Ensuring that as many as possible aspects of the build are immutable – will result in more reliable builds even after a long period of time.

Also worth reading:

3. Musings

>> How to Do Code Reviews Like a Human (Part One) [mtlynch.io]

Very interesting takeaways about doing good code reviews, but also communication in general.

Also worth reading:

4. Comics

And my favorite Dilberts of the week:

>> Bad at Negotiating [dilbert.com]

>> Even Worse Negotiating [dilbert.com]

>> Fix it with Marketing [dilbert.com]

5. Pick of the Week

>> A Step By Step Guide to Tomcat Performance Monitoring [stackify.com]

Generic bottom

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

Comments are closed on this article!