Java Weekly, Issue 211 – Java周刊,第211期

最后修改: 2018年 1月 12日

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

Let’s jump right in …

让我们直接跳入…

1. Spring and Java

1.Spring和Java

>> Spring, Reactor and ElasticSearch: from callbacks to reactive streams [nurkiewicz.com]

Even if some tools don’t provide out-of-the-box support for reactive APIs, we can quickly construct these ourselves.

即使有些工具不提供开箱即用的对反应式API的支持,我们也可以自己快速构建这些API。

>> JPA Criteria API Bulk Update and Delete [vladmihalcea.com]

CriteriaUpdate and CriteriaDelete made it into the JPA specification starting with 2.1.

CriteriaUpdateCriteriaDelete从2.1开始被纳入JPA规范。

At this point, they’re not very well known or acknowledged; this article shows how useful they are and how to use them.

在这一点上,它们并不为人所知,也没有得到承认;这篇文章展示了它们的作用以及如何使用它们。

>> How to Choose the Most Efficient Data Type for To-Many Associations – Bag vs. List vs. Set [thoughts-on-java.org]

The title says it all – getting efficiency out of Hibernate is never a bad thing 🙂

标题说明了一切–从Hibernate中获取效率从来都不是一件坏事 🙂

>> Java Reflection, but much faster [optaplanner.org]

There are much faster alternatives to plain-old Java Reflection.

除了普通的Java反射,还有更快的替代方案。

>> Facebook Open-Sources RacerD – Java Race Condition Detector [infoq.com]

An interesting tool from Facebook – for detecting race conditions in multithreaded Java code.

Facebook的一个有趣的工具–用于检测多线程Java代码中的race条件

Also worth reading:

Webinars and presentations:

网络研讨会和演讲:

Time to upgrade:

升级的时间:

2. Technical and Musings

2.技术和思考

>> A Career Guide for the Recovering Software Generalist [daedtech.com]

You can’t excel at everything (even if you do, no one will believe you), so it’s better to start specializing at some point 🙂

你不可能什么都擅长(即使你做到了,也不会有人相信你),所以最好在某个时候开始专研 🙂。

>> JMeter VS Gatling Tool [octoperf.com]

A comprehensive comparison of the two very popular performance testing tools.

两种非常流行的性能测试工具的全面比较。

Also worth reading:

还值得一读的是:

4. Comics

4.漫画

And my favorite Dilberts of the week:

还有本周我最喜欢的Dilberts。

>> Coworkers Who Are Special [dilbert.com]

>> Boss Hits Jackpot [dilbert.com]

>> Boss Counts Cards [dilbert.com]

5. Pick of the Week

5 本周精选

>> The presence prison [m.signalvnoise.com]