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

最后修改: 2016年 11月 24日

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

1. Spring and Java

1.Spring和Java

>> The Joy of Mustache: Server Side Templates for the JVM [spring.io]

An intro to Mustache and Spring Boot – what more do you need?

Mustache和Spring Boot的介绍 – 你还需要什么?

>> Keeping The Community In The Java Community Process (JCP) [sitepoint.com]

A short history of the JCP and the many conflicts around the Java language.

JCP的简短历史和围绕Java语言的许多冲突。

>> Debugging hints for Logstash [frankel.ch]

Quick and very practical notes on getting an ELK stack working and well-formatted data into it.

关于让ELK堆栈工作和格式化良好的数据进入堆栈的快速和非常实用的笔记。

And seeing how ELK stack’s my go-to whenever the option’s open, I quite enjoyed this one.

看到ELK堆栈是我的首选,只要有选择的机会,我相当喜欢这个。

>> Tracing In Microservices With Spring Cloud Sleuth [ryanjbaxter.com]

Tracing a request across multiple systems is a critical aspect of developing a microservice system today, and this is a good starting point to using Spring Code Sleuth and a Zipkin server to do so.

在多个系统中追踪请求是当今开发微服务系统的一个重要方面,这是使用Spring Code Sleuth和Zipkin服务器进行追踪的一个良好起点。

>> How to implement a soft delete with Hibernate [thoughts-on-java.org]

If you’ve been working on any complex enough system, you probably had to do a soft delete at some point. It’s not hard to implement – which is one extra reason to try to get it right from the start.

如果你在任何足够复杂的系统上工作过,你可能在某个时候不得不做一个软删除。这并不难实现–这也是我们从一开始就努力把它做好的一个额外原因。

Also worth reading:

还值得一读的是:

Webinars and presentations:

网络研讨会和演讲:

Time to upgrade:

升级的时间:

2. Technical

2.技术

>> A short history in Version Control Systems – RCS, ClearCase, SVN, Git [codecentric.de]

A fun (and cringy) trip down memory lane. If you remember any of the older names on this list, you know how easy we have it today 🙂

一个有趣的(和令人讨厌的)记忆之旅。如果你记得这个名单上的任何一个老名字,你就知道我们今天有多容易了 🙂。

>> Let’s Encrypt Everything [codinghorror.com]

Good points about encryption.

关于加密的观点很好。

This one hits home as well, because baeldung.com is not yet running over HTTPs. That’s of course coming.

这个问题也很重要,因为baeldung.com还没有通过HTTPs运行。当然,这是要来的。

>> Elasticsearch: Adventures in scaling a multitenant platform [bigeng.io]

This is a long post – let’s start here.

这是一个很长的帖子–让我们从这里开始。

It’s also chock-full of Elasticsearch goodness.

它还充满了Elasticsearch的优点。

I’m using Elasticsearch daily in my client work, so I got a lot out of it. If you aren’t, you still might want to bookmark it.

我在我的客户工作中每天都在使用Elasticsearch,所以我从中得到了很多东西。如果你没有,你仍然可能想把它收藏起来。

>> Data breach claims are often poorly researched, unsubstantiated and ultimately fake [troyhunt.com]

If, like me, you enjoy reading about and understanding what’s going on in the online security space, this is a quick and informative read.

如果像我一样,你喜欢阅读并了解在线安全领域发生的事情,这是一本快速且内容丰富的读物。

>> How to Build an Image with the Dockerfile [sitepoint.com]

A clean intro to Docker.

对Docker的简单介绍。

Also worth reading:

3. Musings

3.思索

>> Domain Fallback Mechanism In Apps [techblog.bozho.net]

A common sense solution to DNS resolution issues – having a fallback list of IPs. Clearly something that cannot be done for a web-app running in the browser – only on a native app.

DNS解析问题的常识性解决方案–拥有一个IP的后备列表。显然,在浏览器中运行的网络应用程序无法做到这一点–只能在本地应用中做到。

Surprisingly even the top apps on the market – such as the Twitter mobile app – don’t use the technique.

令人惊讶的是,即使是市场上的顶级应用–如Twitter移动应用–也没有使用这种技术。

>> Managing test data in end-to-end test automation [ontestautomation.com]

The age-old question of data preparation and cleanup in testing has plagued the land for eons 🙂

测试中的数据准备和清理这一古老的问题一直困扰着这片土地 🙂

Maybe I’m making it sound more ominous than it really is, but we do have entire tools built around this problem, so it’s certainly not trivial.

也许我让它听起来比实际情况更不吉利,但我们确实有围绕这个问题建立的整个工具,所以它肯定不是小事。

This is a quick intro to potential approaches and solutions.

这是对潜在方法和解决方案的快速介绍。

>> How to make an introduction [dandreamsofcoding.com]

Introducing people probably isn’t the top thing on my mind. That being said, there’s really only so much we can do until without the help of someone else.

介绍人可能不是我心目中的首要任务。话虽如此,在没有别人的帮助之前,我们能做的真的只有这么多。

Meeting people in our ecosystem can definitely be a catalyst, so it’s well worth investing some mental energy into getting better at it.

在我们的生态系统中与人会面绝对可以成为一种催化剂,所以非常值得投入一些精神能量,让我们在这方面做得更好。

Also worth reading:

还值得一读的是:

4. Comics

4.漫画

And my favorite Dilberts of the week:

还有本周我最喜欢的Dilberts。

>> Studies? That doesn’t sound like a real thing [dilbert.com]

>> I have officially lost all faith in human intelligence [dilbert.com]

>> That’s messed up [dilbert.com]

5. Pick of the Week

5 本周精选

>> Microsoft reboots war on sleep [m.signalvnoise.com]