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

最后修改: 2017年 2月 23日

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

Lots of interesting writeups on Java 9 this week.

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

Here we go…

我们来了……

1. Spring and Java

1.Spring和Java

>> From Microservices to Distributed Systems – Survival guide for Java Developers [eisele.net]

Another solid way of doing a microservice implementation 🙂

另一种稳固的方式是做微服务的实现🙂

>> What’s the Top Java Logging Method on GitHub? String Concatenation vs Parameterized Logging [takipi.com]

Should we parameterize or concatenate? As usual, the answer is “it depends”.

我们应该设置参数还是串联?像往常一样,答案是 “这取决于”。

>> Deterministic Execution on the JVM [infoq.com]

A very interesting article exploring JVM determinism on the case study of the deterministic classloader – Corda.

一篇非常有趣的文章探索JVM的确定性关于确定性类加载器–Corda的案例研究。

>> The Future of Java in the Enterprise – InfoQ’s Opinion [infoq.com]

InfoQ are going over the JVM landscape and checking which technologies have already crossed the chasm 🙂

InfoQ正在检查JVM的情况,并检查哪些技术已经跨越了鸿沟 🙂。

>> Should I Implement the Arcane Iterator.remove() Method? Yes You (Probably) Should [jooq.org]

Just in case, it’s better to not ignore the Iterator.remove() method.

以防万一,最好不要忽略Iterator.remove()方法

>> Java Web Frameworks Index by RebelLabs [zeroturnaround.com]

The RebelLabs guys created a ranking of Java web frameworks by researching Stackoverflow, LinkedIn, Github, etc. Quite interesting data here.

RebelLabs的人通过研究Stackoverflow、LinkedIn、Github等创建了一个Java网络框架的排名。这里的数据相当有趣。

>> The Dangers of Race Conditions in Five Minutes [sitepoint.com]

>> 五分钟内的种族条件危险[/span>sitepoint.com]

Revising basics and consequences of race conditions.

修订基础知识和竞赛条件的后果。

>> Lazy Computations in Java with a Lazy Type [sitepoint.com]

If you miss some tools in Java, you can always build it yourself. The article goes through a case study of the design and implementation of a Lazy type in Java.

如果你错过了Java中的一些工具,你总是可以自己建立它。这篇文章通过Java中Lazy类型的设计和实现的案例研究

>> Java 9 Will Adjust Memory Limits if Running with Docker [infoq.com]

The JVM is not aware of the fact that it is running in a container and it can cause multiple problems. Java 9 brings a solution for this problem.

JVM并不知道它是在一个容器中运行的,这可能会导致多种问题。Java 9为这个问题带来了一个解决方案。

Also worth reading:

还值得一读的是:

Webinars and presentations:

网络研讨会和演讲:

Time to upgrade:

升级的时间:

2. Technical

2.技术

>> CockroachDB beta-20160829 [jepsen.io]

A deep dive into the CockrockroachDB persistence guarantees.

深入研究CockrockroachDB的持久性保证。

This one, as many of the Jepsen articles – is an insightful read even if you’re not using CockroachDB (which you probably aren’t).

这篇文章和杰普森的许多文章一样,是一篇很有见地的文章,即使你没有使用CockroachDB(你可能没有)。

>> ElasticSearch API cheatsheet [frankel.ch]

The most important ElasticSearch API operations in one place.

最重要的ElasticSearch API操作在一个地方。

>> CQRS and Event Sourcing with Lagom [codecentric.de]

And yet another approach to CQRS and Event Sourcing – this time with Lagom from Lightbend – the company behind Scala and Akka.

还有另一种CQRS和事件源的方法–这次是来自Lightbend的Lagom–Scala和Akka背后的公司。

>> MariaDB Dialects [in.relation.to]

A super short overview of MariaDB Dialects.

一个关于MariaDB方言的超级简短概述。

>> The MySQL Dialect refactoring [in.relation.to]

And some very nice simplifications of dialects in Hibernate – and a good example of still evolving a mature framework.

还有Hibernate中一些非常好的方言简化–以及仍在进化的成熟框架的一个好例子

Also worth reading:

还值得一读的是:

3. Musings

3.思索

Also worth reading:

还值得一读的是:

4. Comics

4.漫画

And my favorite Dilberts of the week:

还有本周我最喜欢的Dilberts。

>> The power will corrupt you in 3, 2, 1… [dilbert.com]

>> Can I create my own job? [dilbert.com]

>> No idea why he succeeded. [dilbert.com]

5. Pick of the Week

5 本周精选

>> One Thing [randsinrepose.com]