Java Web Weekly 42 – Java网络周刊 42

最后修改: 2015年 10月 16日

中文/混合/英文(键盘快捷键:t)

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.

去年年初,我决定跟踪我的阅读习惯,并在这里分享最好的东西,在Baeldung上。从那时起,我没有错过任何一篇评论。

Here we go…

我们来了……

1. Spring and Java

1.Spring和Java

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

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

WebSockets和响应式用户界面–在本系列的第四部分中,我们将进入一些相当酷和强大的东西。

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

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.

CQRS和事件源是我最喜欢的主题之一–主要是因为它导致了一个坚实、强大的架构。它并不适合所有的事情–就像微服务一样–但如果有足够复杂的领域–它就有很大的意义。

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 [martinfowler.com]

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).

清晰地处理模块的依赖关系是一个相当大的挑战。这篇文章绝对是提高你的游戏水平的好地方(它同时涉及Java和JavaScript,这也是相当有趣的)。

>> Retryable operations [techblog.bozho.net]

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.

如果你发现自己在你的项目中添加重试支持,可以看看这篇文章。当然,文章中链接的库(尤其是Guava的解决方案)也是可靠的方法。

>> RequiredInterface [martinfowler.com]

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

2.技术

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

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

开始使用CI很简单。从中获得最大收益–就不那么简单了。

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.

除了最初的设置工作之外,当涉及到真正从CI中获得价值时,还有很多好的做法。这篇文章很好地介绍了其中的一些做法。

Also worth reading:

也值得一读。

3. Musings

3.思索

>> dftw – decoupled for the win [amundsen.com]

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

使你的API可被发现。从马的嘴里说出来。

>> Opt-in Transparency [zachholman.com]

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

4.漫画

And my favorite Dilberts of the week:

还有本周我最喜欢的Dilberts。

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

>> They know about Plan A [dilbert.com]

>> I renamed all the UNIX servers [dilbert.com]

5. Pick of the Week

5 本周精选

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

对这种强大的建筑风格的参考介绍–绝对值得仔细阅读。

>> Event Sourcing [martinfowler.com]