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

最后修改: 2017年 3月 9日

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

Lots of interesting writeups on Java 9 this week.

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

Here we go…

我们来了……

1. Spring and Java

1.Spring和Java

>> Spring Framework 5.0 M5 Update [spring.io]

Very interesting functionality in the latest Spring 5 pre-release.

最新的Spring 5预发布版中,有非常有趣的功能。

>> A use-case for local class declaration [frankel.ch]

From the engineering point of view, there are some nice use cases for defining classes locally but those should be used with caution because they might violate PoLA.

从工程的角度来看,有一些用于本地定义类的不错的用例,但这些用例应该谨慎使用,因为它们可能违反PoLA

>> Integration testing strategies for Spring Boot microservices part 2 [codecentric.de]

The 2nd part of the series on testing strategies for microservices architectures done in Spring Boot.

在Spring Boot中完成的关于微服务架构的测试策略系列的第二部分。

>> How to encrypt and decrypt data with Hibernate [vladmihalcea.com]

A short and to-the-point write-up on how to do data encryption with Hibernate.

关于如何用Hibernate进行数据加密的简短而有意义的文章。

>> LRU Cache From LinkedHashMap [javaspecialists.eu]

LinkedHashMap can be used for building lightweight LRU caches.

LinkedHashMap可用于构建轻量级LRU缓存。

Should you build your own cache? Definitely not, but it’s a fantastic learning tool.

你应该建立你自己的缓存吗?肯定不是,但它是一个奇妙的学习工具。

>> Testing RxJava2 [infoq.com]

Testing RxJava is easier than it seems when using dedicated solutions like TestSubscriber, TestScheduler or RxJavaPlugins.

在使用TestSubscriberTestSchedulerRxJavaPlugins等专用解决方案时,测试RxJava比看起来更容易。

The Awaitility library might come in handy too.

Awaitility库可能也会派上用场。

>> Profile-based optimization techniques in the JVM [advancedweb.hu]

A new installment from a deep dive series into optimization techniques for the JVM.

深入研究JVM的优化技术系列的新篇章。

>> The Last Frontier in Java Performance: Remove the Garbage Collector [infoq.com]

Very interesting article about potential ideas for decreasing the GC’s overhead.

关于减少GC开销的潜在想法的文章非常有趣。

Also worth reading:

还值得一读的是:

Webinars and presentations:

网络研讨会和演讲:

Time to upgrade:

升级的时间:

2. Technical

2.技术

>> How does MVCC (Multi-Version Concurrency Control) work [vladmihalcea.com]

A short overview of the MVCC technique – applied of course to database systems, but potentially to other types of systems as well.

MVCC技术的简短概述–当然适用于数据库系统,但也可能适用于其他类型的系统。

>> Secrets of Maintainable Codebases [daedtech.com]

Everyone is talking about developing clean and maintainable databases but what does it actually mean?

每个人都在谈论开发清洁和可维护的数据库,但它实际上意味着什么?

Also worth reading:

3. Musings

3.思索

>> Excited about a ‘2.0’ tech stack for microservices [christianposta.com]

A few thoughts about a new generation of tools for building microservices.

关于构建微服务的新一代工具的一些想法。

>> Tech jobs are already largely automated [lemire.me]

Very interesting points regarding the reality of our industry and how software is impacting the overall job market.

关于我们行业的现实和软件如何影响整个就业市场的问题,非常有趣的观点。

>> What’s in a Name? Spelling Matters in Code [daedtech.com]

In the age of advanced IDEs, there is no justification for having grammar errors or typos in your codebase.

在先进的IDE时代,没有理由在你的代码库中出现语法错误或错别字。

>> First steps as a test automation coach [ontestautomation.com]

Thoughts about starting to coach teams towards – in this case, towards better testing.

关于开始指导团队走向–在这种情况下,走向更好的测试的想法。

Also worth reading:

还值得一读的是:

4. Comics

4.漫画

And my favorite Dilberts of the week:

还有本周我最喜欢的Dilberts。

>> Are you sure my data is correct? [dilbert.com]

>> Giving 110% [dilbert.com]

>> How to look busy [dilbert.com]

5. Pick of the Week

5 本周精选

A really good episode on the important topic of doing deep work:

关于做深层工作这一重要话题的一个非常好的情节。

>> SPI 255: Deep Work with Cal Newport [smartpassiveincome.com]