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

最后修改: 2017年 2月 13日

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

Lots of interesting writeups on Java 9 this week.

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

Here we go…

我们来了……

1. Spring and Java

1.Spring和Java

>> Signing and verifying a standalone JAR [frankel.ch]

Signing a JAR file created by Spring Boot can be quite tricky.

签署由Spring Boot创建的JAR文件可能相当棘手。

>> Repackaging Exceptions In Streams [codefx.org]

Handling checked exception within lambdas can be painful. And there are no solutions for this – only workarounds.

在lambdas中处理检查过的异常可能是很痛苦的。对此没有任何解决方案–只有变通方法

>> RXJava2 by Example [infoq.com]

A deep dive into the basic principles of reactive programming with RxJava and loads of examples.

通过RxJava和大量的实例,深入探讨了反应式编程的基本原理

>> Building Multi-Release JARs with Maven [in.relation.to]

Exploring a new Java 9 feature – multi-release JAR files.

探索Java 9的新特性–多版本JAR文件。

>> Integration testing strategies for Spring Boot microservices [codecentric.de]

Spring Boot and microservices solve some problems but create different challenges – testing is certainly one of them.

Spring Boot和微服务解决了一些问题,但也带来了不同的挑战–测试无疑是其中之一。

>> Beyond POJOs – Ten More Ways to Reduce Boilerplate with Lombok [sitepoint.com]

Most people use Lombok for POJOs or data classes but you can find other very useful uses in therenwi.

大多数人将Lombok用于POJO或数据类,但你可以在therenwi中找到其他非常有用的用途。

>> Creating stubs using the Hoverfly Java DSL [ontestautomation.com]

A short tutorial on stubbing APIs using Hoverfly.

一个关于使用Hoverfly存根API的简短教程。

>> Setting up your logging with SLF4J – How to automate the prevention of mistakes and disappearing log statements [vanwilgenburg.wordpress.com]

Properly setting up logging can actually be difficult to do well. There are a few things in here you might not have considered before.

正确地设置日志记录,实际上很难做好。这里面有几件事你以前可能没有考虑过。

Also worth reading:

还值得一读的是:

Webinars and presentations:

网络研讨会和演讲:

2. Technical

2.技术

>> FunctionAsObject [martinfowler.com]

The base of functional programming – leveraging functions as first-class citizens. A quick and worthwhile little writeup.

函数式编程的基础–利用函数作为第一类公民。这是一篇快速且值得一读的小文章。

>> 4 Challenges to Building Multi-factor Authentication [stormpath.com]

Multi-factor authentication solutions do significantly increase the security of a system but have their own set of challenges.

多因素认证解决方案确实大大增加了系统的安全性,但也有自己的一系列挑战。

>> How does a relational database work [vladmihalcea.com]

Refreshing the basics 🙂

刷新基础知识 🙂

Also worth reading:

还值得一读的是:

3. Musings

3.思索

>> Computer Science Concepts That Non-Technical People Should Know [techblog.bozho.net]

Sometimes we don’t speak the same language and we might not be aware of it. There are few concepts that would make communication between technical and non-technical people much easier.

有时我们不说同一种语言,我们可能没有意识到这一点。有几个概念可以使技术人员和非技术人员之间的沟通变得更加容易。

>> Logging for Fun: Things You’d Never Thought to Log [daedtech.com]

Logging and monitoring of everyday things can give us ideas for future improvements 🙂

对日常事物的记录和监测可以为我们提供未来改进的思路 🙂

>> Extracting Value as an Employee [zachholman.com]

Some really pragmatic, potentially uncomfortable advice.

一些真正务实的、可能不舒服的建议

>> Habits that Pay Off for Programmers [daedtech.com]

The Law of Diminishing Returns applies to technical skills as well. Developing critical complementary skills – outside of pure coding – pays off in the long run.

回报递减法则也适用于技术技能。发展关键的补充技能–在纯粹的编码之外–从长远来看是值得的。

Also worth reading:

4. Comics

4.漫画

And my favorite Dilberts of the week:

还有本周我最喜欢的Dilberts。

>> The agile programmers can jump out of the way [dilbert.com]

>> I’ll be the judge of that [dilbert.com]

>> My part is mostly talk [dilbert.com]

5. Pick of the Week

5 本周精选

>> The Builder’s High [randsinrepose.com]