Java Web Weekly, Issue 134

At the very beginning of last year, I decided to track my reading habits and share the best stuff here, on Baeldung. Haven’t missed a review since.

Here we go…

1. Spring and Java

Let’s start with the yearly report from RebelLabs, providing some very interesting insights into the trends of our ecosystem.

>> How we fixed all database connection leaks [in.relation.to]

Very cool, to the point walk-through how the connection leaks in the large Hibernate test suite were handled.

>> JUnit 5 – An Early Test Drive – Part 1 [infoq.com]

An early look at the upcoming JUnit 5.

>> Notes on Reactive Programming Part III: A Simple HTTP Server Application [spring.io]

Reactive programing is coming to Spring with version 5 – we know that by now.

The question is – what are the scenarios where it’s going to make a significant difference and how can we use it before Spring 5 comes out.

And this new installment does a good job answering both of these questions.

>> Custom Audit Log With Spring And Hibernate [bozho.net]

There are projects where you can use some of the nicer ways of doing audit. And then there are some codebases where that’s not possible without major and painful refactoring. Luckily, there’s a clean, manual way of doing audit as well.

Also worth reading:

Webinars and presentations:

Time to upgrade:

2. Technical

Data is of course the most complex part of doing Microservices well, and in my experience, the number one reason teams fail during these kinds of implementations.

It turns out that, for example – getting transactional boundaries right across multiple systems is a hard problem to solve, especially without a very good understanding of the semantics to achieve in the system and a clear set of self-imposed limitations at the start.

>> An approach to test your user interface more efficiently [ontestautomation.com]

A quick, interesting read using a pattern I knew very little about – Model-View-ViewModel.

Also worth reading:

3. Musings

===== >> How to De-Brilliant Your Code [daedtech.com]

I enjoy reading through these listener questions, as they’re a nice change of pace.

And, just as a quick side-note, writing a feature without using the if keyword anywhere is certainly a nice way to spend the weekend ?

>> How to Add Static Analysis to Your Process [daedtech.com]

An intro to the thinking, expectations and how-to of dipping your toe into the deep waters of static analysis.

>> Managing rapid growth [dandreamsofcoding.com]

During the last couple of years, the company I’m working for has grown from 2 to more than 600-700 (last time I checked).

It’s definitely quite a ride to go through that kind of growth, and this writeup makes some good points about how to do that well.

>> Sources of Inspiration [daedtech.com]

A quick read, a solid reading list and some inspiration.

Also worth reading:

4. Comics

And my favorite Dilberts of the week:

5. Pick of the Week

===== >> The Locust Economy [ribbonfarm.com]

Leave a Reply

Your email address will not be published.