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

最后修改: 2016年 12月 1日

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

1. Spring and Java

1.Spring和Java

>> Going reactive with Spring Data [spring.io]

The reactive support in Spring Data looks very interesting and actually idiomatic. It may also be a nice, high level way to get intro the new programming model.

Spring Data中的反应式支持看起来非常有趣,而且实际上是成语。它也可能是介绍新的编程模型的一个很好的、高水平的方法。

>> The Java Ecosystem’s Obsession with NonNull Annotations [jooq.org]

An opinionated piece from Lukas about the misuse of @NotNull annotations in standard Java code.

Lukas的一篇关于标准Java代码中@NotNull注解的滥用的观点文章。

>> Structuring data with Logstash [frankel.ch]

Logging can no longer be just an afterthought. As we break our systems apart into multiple deployable units, if we don’t dial in logging, we simply won’t be able to know what’s going on.

记录不能再是事后的想法。当我们把我们的系统分解成多个可部署的单元时,如果我们不拨入日志,我们根本无法知道发生了什么。

This writeup covers some interesting aspects of working with Spring Cloud Sleuth and the ELK stack.

这篇文章涵盖了使用Spring Cloud Sleuth和ELK堆栈工作的一些有趣方面。

>> Reactor By Example [infoq.com]

A closer look at the core dependency that’s going to power the Spring 5 reactive implementation? Cool beans.

仔细看看将为Spring 5的反应式实现提供动力的核心依赖性?酷酷的Bean。

>> Is Standard Java Logging Dead? Log4j vs Log4j2 vs Logback vs java.util.logging [takipi.com]

Looking at hundreds of thousands of repositories always produces very interesting data.

观察数十万个储存库总是能产生非常有趣的数据

And logging data is no exception – some very interesting numbers here, such as the fact that 80% of projects are using SLF4J.

而日志数据也不例外–这里有一些非常有趣的数字,比如80%的项目都在使用SLF4J。

>> Should you create or generate your table model? [thoughts-on-java.org]

Creating and managing your projects DB structure is never straightforward.

创建和管理你的项目DB结构从来都不是简单的。

This writeup discusses the available approaches, especially at the beginning of the project, and the advantages of each.

这篇文章讨论了可用的方法,特别是在项目开始时,以及每个方法的优点。

Also worth reading:

还值得一读的是:

Webinars and presentations:

网络研讨会和演讲:

Time to upgrade:

升级的时间:

2. Technical

2.技术

>> Message Diagrams [alexecollins.com]

An interesting new diagram style that’s able to replace (or maybe upgrade) the venerable sequence diagram.

一种有趣的新图表风格,能够取代(或可能升级)古老的序列图。

>> Avoid these Things When Logging from Your Application [daedtech.com]

Like testing, logging is a deceptively difficult thing to master. The technical aspects are dead simple, but HOW to log isn’t really the point, but what to log.

就像测试一样,记录是一件很难掌握的事情。技术方面非常简单,但如何记录并不是真正的重点,重点是记录什么。

This writeup is a good oportunity to revisit assumptions and think about what you’re logging in your own system.

这篇报道是一个很好的机会,可以重新审视假设,思考你在自己的系统中记录了什么。

>> Amazon Lex – Build Conversational Voice & Text Interfaces [aws.amazon.com]

Building blocks to process voice and language? What’s not to like?

处理语音和语言的积木?有什么不满意的呢?

Also worth reading:

3. Musings

3.思索

>> Brief lessons on handling huge traffic spikes [troyhunt.com]

12K visitors on the site? It takes a special kind of system to be able to quickly scale up to handle that kind of load.

网站上有12000名访客?这需要一种特殊的系统,以便能够迅速扩大规模,处理这种负载。

>> What does good test automation training look like? [ontestautomation.com]

Developing a curriculum and delivering that training in an engaging way that’s actually able to move students forward is not an easy nut to crack.

开发课程并以吸引人的方式提供培训,使之真正能够推动学生前进,这不是一个容易破解的难题。

And of course, training is a topic that I’m particularly interested in (given my own training material here on Baeldung), so this piece was particularly interesting to me.

当然,培训是我特别感兴趣的一个话题(鉴于我自己在Baeldung上的培训材料),所以这篇文章对我来说特别有意思。

Also worth reading:

还值得一读的是:

4. Comics

4.漫画

And my favorite Dilberts of the week:

还有本周我最喜欢的Dilberts。

>> I’ll show myself out … [dilbert.com]

>> Suckering the rest of us into hiring idiots [dilbert.com]

>> We lost all of our data [dilbert.com]

5. Pick of the Week

5 本周精选

One of my favorite podcasts out there (non-technical, but well worth listening to):

我最喜欢的播客之一(非技术性的,但非常值得听)。

>> The Model Health Podcast [theshawnstevensonmodel.com]