Java Weekly, Issue 201 – Java周刊》第201期

最后修改: 2017年 11月 3日

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

Lots of interesting writeups on Java 9 this week.

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

Here we go…

我们来了……

1. Spring and Java

1.Spring和Java

>> Learning Java with jshell [javaspecialists.eu]

A Quick intro of JShell makes it possible to explore Java without public static void main() methods 🙂

JShell的快速介绍使我们有可能在没有public static void main()方法的情况下探索Java 🙂

>> Data Classes for Java [openjdk.java.net]

A comprehensive explanation of the new upcoming Java feature – data classes.

对即将到来的Java新特性–数据类进行全面解释。

>> Hibernate Tips: How to map an entity attribute to an Optional [thoughts-on-java.org]

Unfortunately, Hibernate and JPA 2.2 don’t support Optional as an attribute type but with a little trick, we can still use Optional as the return type of getter methods.

不幸的是,Hibernate和JPA 2.2不支持Optional作为属性类型,但通过一个小技巧,我们仍然可以使用Optional作为getter方法的返回类型。

>> Bean Validation benchmark revisited [in.relation.to]

An interesting performance comparison of three most popular Bean Validation implementations – Hibernate Validator 6.x.x is faster than ever.

对三种最流行的Bean Validation实现进行了有趣的性能比较–Hibernate Validator 6.x.x比以前更快。

Also worth reading:

Webinars and presentations:

网络研讨会和演讲:

Time to upgrade:

升级的时间:

2. Technical and Musings

2.技术和思考

>> Customize Your Agile Approach: Start With Results You Want [infoq.com]

Velocity is a current measure of capacity and not a measure of project progress – it makes more sense to track completed stories and not Story Points – the value of those change over time.

速度是对能力的当前衡量,而不是对项目进展的衡量–跟踪已完成的故事而不是故事点更有意义–这些价值随着时间的推移而变化。

Also worth reading:

还值得一读的是:

3. Comics

3.漫畫

And my favorite Dilberts of the week:

还有本周我最喜欢的Dilberts。

>> App For a Better Boss [dilbert.com]

>> Robot is not a Droid [dilbert.com]

>> Troll Has No Job [dilbert.com]

4. Pick of the Week

4.本周精选

>> How To Track and Monitor Critical Java Application Metrics [stackify.com]