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

最后修改: 2017年 2月 2日

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

Lots of weekend reading for this week.

本周有很多周末阅读的内容。

Let’s jump right in…

让我们直接跳入…

1. Spring and Java

1.Spring和Java

>> Java 9 Enters First Bug Fixing Round [infoq.com]

Java 9 vs Bugs – the first round 🙂

Java 9 VS Bugs – 第一轮 🙂

>> Compilation of Java code on the fly [frankel.ch]

A short example showing how to compile Java code at runtime (yes, you read that right).

一个简短的例子展示了如何在运行时编译Java代码(是的,你没看错)。

>> Surprising += Cast [javaspecialists.eu]

Exploring edge cases of casting in Java.

探讨Java中铸造的边缘案例。

>> Hibernate Tips: How to map an Enum to a database column [thoughts-on-java.org]

A short write-up about a not-so-trivial problem of mapping enums to database columns using Hibernate.

一个关于使用Hibernate将枚举映射到数据库列的一个并不复杂的问题的简短文章

>> Chronicle Queue storing 1 TB in virtual memory on a 128 GB machine [vanilla-java.github.io]

Chronicle Queue utilizes heap space economically 🙂

纪年队列经济地利用了堆的空间 🙂

>> Why Elvis Should Not Visit Java [codefx.org]

As long as Java’s type system doesn’t distinguish between nullable and non-nullable types, the Elvis operator isn’t a good fit for Java.

只要Java的类型系统不区分可归零和不可归零的类型,猫王操作符就不适合Java

>> How to automatically validate entities with Hibernate Validator [thoughts-on-java.org]

A short guide to the highly important Hibernate Validator.

一个关于非常重要的Hibernate验证器的简短指南。

>> Tool Time: Preventing leaky APIs with jQAssistant [in.relation.to]

You can now perform some interesting static analysis of your APIs.

你现在可以对你的API进行一些有趣的静态分析

>> Surprising += Cast [javaspecialists.eu]

Exploring edge cases of casting in Java.

探讨Java中铸造的边缘案例。

>> Java Community Oscars – The Top 10 Posts of 2016 [takipi.com]

It turns out Java developers host their own Oscars too 🙂

事实证明,Java开发者也举办了他们自己的奥斯卡奖 🙂

Also worth reading:

还值得一读的是:

Webinars and presentations:

网络研讨会和演讲:

Time to upgrade:

升级的时间:

2. Technical

2.技术

>> Building Event-driven Microservices Using CQRS and Serverless [kennybastani.com]

A rich introduction to building event-driven microservices and CQRS.

对构建事件驱动的微服务和CQRS的丰富介绍。

>> Revealing Interfaces [michaelfeathers.silvrback.com]

A short trick that might help you clean up your codebase.

一个简短的技巧,可能会帮助你清理你的代码库。

Also worth reading:

还值得一读的是:

3. Musings

3.思索

>> Deep learning: the silver bullet? [lemire.me]

Thoughts about the future of deep learning.

关于深度学习的未来的思考。

>> Measure Your Code to Get Back on Track [daedtech.com]

What isn’t measured, doesn’t improve. Definitely measure the quality of your code/work as the first step towards improving it.

没有测量的东西,就不会有改善。一定要衡量你的代码/工作的质量,作为改善它的第一步。

>> Trust automation [ontestautomation.com]

How to establish trust with your test automation 🙂

如何与你的测试自动化建立信任 🙂

>> Processing billions of events/day [plumbr.eu]

An in-depth case study of going from a monolith to scalable Kafka-backed microservices.

从单片机到可扩展的Kafka支持的微服务的深入案例研究。

Also worth reading:

还值得一读的是:

4. Comics

4.漫画

And my favorite Dilberts of the week:

还有本周我最喜欢的Dilberts。

>> Tupac is dead [dilbert.com]

>> How do you get social media followers? [dilbert.com]

>> So wise [dilbert.com]

5. Pick of the Week

5 本周精选

>> The Cave Essentials [randsinrepose.com]