Java Weekly, Issue 187 – Java周刊,第187期

最后修改: 2017年 7月 27日

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

Lots of interesting write-ups on Java this week.

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

Here we go…

我们来了……

1. Spring and Java

1.Spring和Java

>> Kotlin collections [blog.frankel.ch]

A quick but comprehensive guide to the collections hierarchy in Kotlin.

一个关于Kotlin中集合层次结构的快速而全面的指南。

>> A Curious Java Language Feature and How it Produced a Subtle Bug [jooq.org]

Again, a simple rule of avoiding subtyping as much as possible can spare us many potential bugs 🙂

同样,一个尽可能避免子类型化的简单规则可以使我们免去许多潜在的bug 🙂

>> Entities or DTOs – When should you use which projection? [thoughts-on-java.org]

A very interesting comparison of Hibernate’s performance in multiple scenarios.

对Hibernate在多种情况下的性能进行了非常有趣的比较。

Also worth reading:

Webinars and presentations:

网络研讨会和演讲:

Time to upgrade:

升级的时间:

2. Technical

2.技术

>> The Ultimate Guide to Progressive Web Applications [developer.okta.com]

Building a Progressive Web Applications for the first time can be difficult – this writeup will definitely make it a bit easier.

第一次构建渐进式网络应用程序可能很困难–这篇报道肯定会让它更容易一些。

>> Identity, Claims, & Tokens – An OpenID Connect Primer, Part 1 of 3 [developer.okta.com]

A guide to the basics of OpenId Connect – a protocol that runs on top of OAuth 2.0 to provide authorization semantics.

一个关于OpenId Connect的基础知识的指南–该协议在OAuth 2.0之上运行,提供授权语义。

Also worth reading:

还值得一读的是:

3. Musings

3.思索

>> APIs and the Principle of Least Surprise [daedtech.com]

Predictable and self-discoverable APIs are usually a pleasure to work with 🙂

可预测的和可自我发现的API通常是工作的乐趣 🙂

HATEOAS for the win.

赢得了HATEOAS。

>> I told you so [dandreamsofcoding.com]

There’s more to our work than being smart or being right – this is an interesting write-up to drive that point home.

我们的工作不仅仅是聪明或正确–这是一篇有趣的文章,将这一观点推向了高潮。

>> Passwords Evolved: Authentication Guidance for the Modern Era [troyhunt.com]

A few interesting thoughts about the state of modern authentication.

关于现代认证现状的一些有趣想法

Also worth reading:

还值得一读的是:

4. Comics

4.漫画

And my favorite Dilberts of the week:

还有本周我最喜欢的Dilberts。

>> The duty of an engineer [dilbert.com]

>> A long sales cycle [dilbert.com]

>> Lazy or wise? [dilbert.com]

5. Pick of the Week

5 本周精选

>> The company isn’t a family [m.signalvnoise.com]