Java Web Weekly, Issue 134 – Java网络周刊,第134期

最后修改: 2016年 7月 21日


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


>> Zero Turnaround releases RebelLabs Developer Productivity Report []

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 []

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 []

An early look at the upcoming JUnit 5.

对即将到来的JUnit 5的早期展望。

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

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.

问题是–在哪些情况下它会产生重大影响,以及在Spring 5出来之前我们如何使用它。

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


>> Custom Audit Log With Spring And Hibernate []

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


>> The Hardest Part About Microservices: Your Data []

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 []

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 []

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 🙂

而且,作为一个简短的旁注,写一个功能,而不在任何地方使用if关键字肯定是一个不错的方式来度过周末 🙂。

>> How to Add Static Analysis to Your Process []

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


>> Managing rapid growth []

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 []

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


Also worth reading:


4. Comics


And my favorite Dilberts of the week:


>> Why did you reject my friend request on Facebook? []

>> I trust them like I trust you []

>> Stop saying what you’re thinking []

5. Pick of the Week

5 本周精选

>> The Locust Economy []