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

最后修改: 2016年 6月 30日

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

At the very beginning of last year, I decided to track my reading habits and share the best stuff here, on Baeldung. Haven’t missed a review since.

去年年初,我决定跟踪我的阅读习惯,并在这里分享最好的东西,在Baeldung上。从那时起,我没有错过任何一篇评论。

Here we go…

我们来了……

1. Spring and Java

1.Spring和Java

>> Java 9 Additions To Optional [codefx.org]

Some interesting stuff is definitely coming to Optional in the JDK.

一些有趣的东西肯定会出现在JDK的Optional中。

>> 5 Common Hibernate Exceptions and How to Fix Them [takipi.com]

I like to go through these exception focused articles – they usually have new insights I can glean for when I do get the exception.

我喜欢翻阅这些关注例外情况的文章–它们通常有新的见解,当我真的遇到例外情况时,我可以从中得到启发。

>> Managing Secrets with Vault [spring.io]

Storing secret configuration data is almost always an important thing to get right in the overall architecture of a system.

存储秘密配置数据在系统的整体架构中,几乎总是一件需要正确处理的重要事情。

It’s also one of the most common question I get from readers when it comes to project configuration. So this writeup is an interesting solution to that question. Not the only solution, but certainly an interesting one.

这也是我在谈到项目配置时从读者那里得到的最常见的问题之一。因此,这篇报道是对这个问题的一个有趣的解决方案。不是唯一的解决方案,但肯定是一个有趣的解决方案。

>> Turn Around. Don’t Use JPA’s loadgraph and fetchgraph Hints. Use SQL Instead. [jooq.org]

A different perspective on picking the persistence solution of your next greenfield project, talking about preferring plain SQL over something higher level such as JPA.

关于为你的下一个绿地项目选择持久性解决方案的不同观点,谈到了宁愿选择普通SQL而不是JPA等更高级别的东西。

>> 14 High-Performance Java Persistence Tips [vladmihalcea.com]

Some low-hanging fruit (and not so low-hanging) to improve the performance of a Hibernate implementation.

一些低垂的果实(以及不那么低垂的果实)来提高Hibernate实现的性能。

>> “Micro Profile in Enterprise Java” Announced ! [antoniogoncalves.org] and >> The Enterprise Java Future Is Bright: Java EE 8 MicroProfile Launched [adam-bien.com]

Big announcements in the Java EE world (seems like every week now).

Java EE领域的重大公告(现在似乎每周都有)。

>> Close Encounters of The Java Memory Model Kind [shipilev.net]

A fantastic deep-dive into the JMM (still reading through it now). Definitely one to bookmark.

对JMM的深入研究非常精彩(现在还在阅读)。绝对是值得收藏的作品。

Also worth reading:

还值得一读的是:

Webinars and presentations:

网络研讨会和演讲:

Time to upgrade:

升级的时间:

2. Technical and Musings

2.技术和思考

>> Code Review and How Enterprises Can Miss The Point [daedtech.com]

An insightful analysis of the motivations of different players in a large organization when it comes to code reviews and to getting something useful out of the practice. Well worth reading.

当涉及到代码审查和从实践中获得有用的东西时,对一个大型组织中不同参与者的动机进行了深刻的分析。非常值得一读。

>> How I prepared for the NDC keynote (and other speaker tips) [troyhunt.com]

Some solid, to the point advice on speaking well.

一些扎实的、切中要害的关于说好话的建议

I feel that speaking is a life-long journey and there’s always a lot to learn. And delivering a good presentation is such an important skill that it really makes sense to spend time and learn how to do it well, as much as possible.

我觉得演讲是一个终身的旅程,总是有很多东西要学。而做一个好的演讲是如此重要的技能,所以花时间尽可能地学习如何做好它真的很有意义。

>> Learning a Healthy Fear of Legacy Code [daedtech.com]

Here be dragons.

这里有龙。

>> Expanding the Cloud: Introducing the AWS Asia Pacific (Mumbai) Region [allthingsdistributed.com]

Yeah, one more region to play with, after Frankfurt.

是的,在法兰克福之后,还有一个地区可以玩。

>> Special Skills [dandreamsofcoding.com]

There’s a time to study the foundations and there’s a time to specialize. And while foundations are important, specialization and niching down are more and more critical today.

有研究基础的时候,也有专攻的时候。虽然基础很重要,但专业化和细分化在今天变得越来越重要。

>> Jepsen: Crate 0.54.9 version divergence [aphyr.com]

Who knew that the Elasticsearch data consistency problems (which are quite real) would go beyond the core product and spread to other solutions as well. It’s not that surprising though.

谁知道Elasticsearch的数据一致性问题(这是很真实的)会超越核心产品,也会蔓延到其他解决方案。不过,这并不那么令人惊讶。

>> Amazon Elastic File System – Production-Ready in Three Regions [aws.amazon.com] and

Elastic Network Adapter – High Performance Network Interface for Amazon EC2 [aws.amazon.com]

Two important announcements of new AWS goodness in a single week.

在一个星期内,有两个重要的AWS新品公告。

Also worth reading:

还值得一读的是:

3. Comics

3.漫畫

And my favorite Dilberts of the week:

还有本周我最喜欢的Dilberts。

>> Nothing about you is normal [dilbert.com]

>> Two good ways to avoid listening to others [dilbert.com]

>> Did someone tell you Twitter was a video game? [dilbert.com]

4. Pick of the Week

4.本周精选

>> This I Believe – 25 Thoughts for Life [conversionxl.com]