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

最后修改: 2017年 8月 24日

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

Lots of interesting writeups on Java 9 this week.

本周有很多关于Java 9的有趣文章。

Here we go…

我们来了……

1. Spring and Java

1.Spring和Java

>> Oracle Looking to Move Java EE to Open Source Foundation [infoq.com]

The Java EE team is considering going to an open-source, third-party foundation.

Java EE团队正在考虑转到一个开源的第三方基金会。

I think that’s going to be a great step forward – I hope it really works out this way 🙂

我认为这将是一个伟大的进步–我希望它真的能这样发展 🙂。

>> How Java 9 Incubator Modules Will Change the Future of Java [takipi.com]

Incubator modules will be an interesting feature of the JPMS – they will allow a safe introduction of unfinished or experimental APIs.

孵化器模块将是JPMS的一个有趣的功能–它们将允许安全地引入未完成的或实验性的API。

>> Introducing Actuator Endpoints in Spring Boot 2.0 [spring.io]

Spring Boot 2.0 brings many important (and cool) changes to Actuators, along with the support for Spring MVC, Spring WebFlux, and Jersey.

Spring Boot 2.0 为 Actuators 带来了许多重要的(也是很酷的)变化,同时也支持 Spring MVC、Spring WebFlux 和 Jersey。

>> Vavr, Collections, and Java Stream API Collectors [4comprehension.com]

It turns out that the Stream API Collectors can be used easily with Vavr (formerly Javaslang) Collections and even with tools like Option or Try.

事实证明,流API采集器可以很容易地用于Vavr(以前的Javaslang)集合,甚至可以用于OptionTry.等工具。

>> Fast Forward >> Vavr 1.0 [blog.vavr.io]

The rebranded Javaslang is approaching the first full release under the new name – which will include numerous changes like splitting the main artifact into smaller ones, and Java interoperability improvements.

重新命名的Javaslang正在接近新名称下的第一个完整版本–它将包括许多变化,如将主要的人工制品拆分成小的,以及Java互操作性的改进。

>> Rise and fall of JVM languages [frankel.ch]

I always find it interesting to look at the high-level state of our ecosystem.

我总是觉得看一下我们生态系统的高层状态很有趣。

My one note here is that I would have liked to also see Clojure in there as well.

我想说的是,我希望在这里也能看到Clojure。

Also worth reading:

Webinars and presentations:

网络研讨会和演讲:

Time to upgrade:

升级的时间:

2. Technical

2.技术

>> Leveraging the Power of a Database ‘Unbundled’ [confluent.io]

“Unbundling” a database makes it possible to share it between multiple services without causing an unnecessary coupling.

为数据库 “松绑 “使其有可能在多个服务之间共享,而不会造成不必要的耦合。

>> Code Smells: Deeply Nested Code [jetbrains.com]

A cool case-study of refactoring code containing multiple nested for and if statements.

一个关于重构包含多个嵌套forif语句的代码的很酷的案例研究

Also worth reading:

还值得一读的是:

3. Musings

3.思索

>> Perspective on Architectural Fitness of Microservices [infoq.com]

Microservices are not a recipe for a universally applicable architecture.

微服务不是一个普遍适用的架构的秘诀。

Like anything else – they need to be applied when there are specific problems to be solved.

像其他东西一样–它们需要在有具体问题需要解决时应用。

>> How You’re Probably Misunderstanding TDD [daedtech.com]

There are many misconceptions about the TDD out there – here are just some of the most interesting ones.

外面有许多关于TDD的误解 – 这里只是一些最有趣的误解。

Also worth reading:

还值得一读的是:

4. Comics

4.漫画

And my favorite Dilberts of the week:

还有本周我最喜欢的Dilberts。

>> The urge to disagree [dilbert.com]

>> Attention span [dilbert.com]

>> Ethics [dilbert.com]

5. Pick of the Week

5 本周精选

This week I’ve finally announced the new stuff that’s coming down the pike in my REST With Spring course – all related to Spring 5 (along with the upcoming price change):

本周我终于宣布了我的REST With Spring课程中即将推出的新内容–都是与Spring 5有关的(还有即将到来的价格变化)。

>> The upcoming new modules in REST With Spring