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

最后修改: 2016年 6月 10日

中文/混合/英文(键盘快捷键: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

>> Notes on Reactive Programming Part I: The Reactive Landscape [spring.io]

A solid intro to the reactive programming.

一个坚实的反应式编程入门

And no, it’s no coincidence that this is first.

不,这不是巧合,这是第一次。

>> The Top 10 Exception Types in Production Java Applications – Based on 1B Events [takipi.com]

Another set of insights out of an interesting dataset – with the venerable NullPointerException of course at number one.

从一个有趣的数据集中得出的另一组见解–当然是以可敬的NullPointerException为首。

>> How To Implement equals Correctly [codefx.org]

A back-to-basics looking at equals – nicely done.

回归本源地看待等价物–做得很好。

>> How to implement equals and hashCode using the entity identifier (primary key) [vladmihalcea.com]

And since we were just talking about equals, this writeup definitely fits well into that narrative with a look from the persistence side of things.

既然我们刚刚谈到了等价物,这篇文章从事物的持久性方面来看,肯定很适合这种叙述。

>> Observations From A History of Java Backwards Incompatibility [marxsoftware.com]

You might argue that keeping full backwards compatibility is what made Java as popular as it is today, or that it’s what keeps Java from actually moving forward well.

你可能会说,保持完全的向后兼容性是使Java像今天这样流行的原因,或者说是使Java不能真正很好地向前发展的原因。

Either way – here’s a quick look at what it means to keep that compatibility for over 20 years.

无论哪种方式–这里快速看一下保持这种兼容性超过20年意味着什么。

>> Spring-Reactive samples [java-allandsundry.com]

The reactive programming model is coming to Spring, no two-ways about it. And there isn’t a whole lot of information about it out there – so this piece looks quite interesting in terms of filling that gap.

反应式编程模型即将进入Spring,这一点没有什么两样。而且关于它的信息并不多–所以这篇文章在填补这一空白方面看起来相当有趣。

>> Netflix OSS, Spring Cloud, or Kubernetes? How About All of Them! [christianposta.com]

The Netflix ecosystem of tools is based on practical usage at scale, so it’s always super useful to go deep into understanding their tools.

Netflix的工具生态系统是基于规模化的实际使用,所以深入了解他们的工具总是超级有用。

Also worth reading:

还值得一读的是:

Webinars and presentations:

网络研讨会和演讲:

Time to upgrade:

升级的时间:

2. Technical

2.技术

>> Practical Event Sourcing And CQRS Benefits [sapiensworks.com]

If you’re literally just starting out, than this may be to early, but if you’ve been building systems for a while know in one form or another and haven’t explored things like DDD, Event Sourcing and CQRS – well, this is as good of time as any to.

如果你刚刚开始工作,这可能还为时过早,但如果你已经以这种或那种形式建立了系统,但还没有探索过像DDD、事件源和CQRS这样的东西,那么现在就是最好的时机。

Yes, it’s a significantly different way of building a system, but then again, really leveling up probably won’t happen from doing CRUD marginally better.

是的,这是一种明显不同的构建系统的方式,但话又说回来,真正的级别提升可能不会发生在做CRUD的时候稍微好一点

Also worth reading:

还值得一读的是:

3. Musings

3.思索

>> Why I switched to making products [swizec.com]

A quick and fun intro to why it’s well worth doing products. This was a fun read for me, since I made the jump into products almost one year ago today.

一个快速而有趣的介绍,说明为什么很值得做产品。对我来说,这是一本有趣的书,因为我在差不多一年前的今天跳到了产品领域。

>> Why is Github Taking over the World? [daedtech.com]

A discussion around the history and the Why of Github.

围绕Github的历史和为什么的讨论。

>> Creating virtual assets in service virtualization: record and playback or behaviour modeling? [ontestautomation.com]

Definitely an interesting read exploring the two alternatives of driving the testing and explorations of a system, either by using a recorder, or programmatically. A bit high level but well worth reading.

这绝对是一本有趣的读物,探讨了驱动系统测试和探索的两种选择,要么使用记录器,要么通过编程。有点高深莫测,但非常值得一读。

Also worth reading:

还值得一读的是:

4. Comics

4.漫画

And my favorite Dilberts of the week:

还有本周我最喜欢的Dilberts。

>> How are you doing on your unspoken objectives? [dilbert.com]

>> A monkey could do your assignment while eating a banana [dilbert.com]

>> Moving to a shared leadership model [dilbert.com]

5. Pick of the Week

5 本周精选

>> Happiness is the Only Logical Pursuit [mrmoneymustache.com]

>> 幸福是唯一合乎逻辑的追求[mrmoneymustache.com]