Java Web Weekly 42 – Java网络周刊 42

最后修改: 2015年 10月 16日


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


>> React.js and Spring Data REST: Part 4 – Events []

WebSockets and a responsive UI – we’re getting into some pretty cool and powerful stuff with the fourth installment of this series.


>> Spring From the Trenches: Using Type Converters With Spring MVC []

A solid introduction to custom type conversion in Spring and Spring Boot; the framework does provides a lot of help, but there’s always something custom that’s needed.

对Spring和Spring Boot中的自定义类型转换进行了扎实的介绍;该框架确实提供了很多帮助,但总是需要一些自定义的东西

>> Exploring CQRS with Axon Framework: Overview of Some DDD concepts [geekabyte]

>> Exploring CQRS with Axon Framework: Building the Entity, Aggregate, Aggregate Root and Repository components [geekabyte]

CQRS and Event Sourcing is one of my favorite subjects – mainly because it leads to a solid, powerful architectures. It doesn’t work well for everything – much like microservices – but given a complex enough domain – it makes a lot of sense.


This series is a solid place to start if you’re just getting into these concepts and want to follow along with an ordered, cadenced approach.


>> Refactoring Module Dependencies []

Dealing with module dependencies cleanly is quite a challenge. This writeup is definitely a good place to up your game (it deals both with Java and JavaScript, which is also quite interesting).


>> Retryable operations []

If you find yourself adding retry support into your projects, have a look at this writeup. Of course, the libraries linked from the article (especially the Guava solution) are solid ways to go.


>> RequiredInterface []

Quick and to the point – an overview of this sometimes useful “pattern” of interface design.

快速而直接地–对这种有时很有用的界面设计“模式 “的概述。

Also worth reading:


Webinars and presentations:


Time to upgrade:


2. Technical


>> Continuous Integration Platform using Docker Container: Jenkins, SonarQube, Nexus, GitLab []

Getting started with a CI is simple. Getting the most out of it – not so much.


And moving beyond the initial work of setting things up , there’s so much more in terms of good practices to employ when it comes to actually getting value out of the CI. This writeup does a good job covering some of these practices.


Also worth reading:


3. Musings


>> dftw – decoupled for the win []

Make your APIs discoverable. From the horse’s mouth.


>> Opt-in Transparency []

I always learn something new reading Zach’s pieces on company culture – and this one isn’t any different – quick, engaging and highly useful.


Also worth reading:


4. Comics


And my favorite Dilberts of the week:


>> Did you learn to debate on the internet? []

>> They know about Plan A []

>> I renamed all the UNIX servers []

5. Pick of the Week

5 本周精选

The reference intro to this powerful style of architecture – definitely worth reading carefully:


>> Event Sourcing []