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

最后修改: 2017年 8月 9日

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

Here we go…

我们来了……

1. Spring and Java

1.Spring和Java

>> Function-Oriented Programming with Spring Cloud Function Framework [infoq.com]

Spring Cloud Function is a new project that embraces working with functions – single units of computations. The interesting new addition here is the ability to decouple those from a particular vendor by introducing deployment-platform dependencies.

Spring Cloud Function是一个新项目,它包含了使用函数的工作–单一计算单元。这里有趣的新内容是,通过引入部署-平台依赖关系,能够将这些功能与特定的供应商脱钩。

>> Parsing of LocalDate query parameters in Spring Boot [blog.codecentric.de]

Using LocalDates as query parameters is not always as easy to use as it could be in Spring – but we can always implement our own formatters.

使用LocalDates作为查询参数并不总是像在Spring中那样容易使用 – 但我们总是可以实现我们自己的格式化。

>> Best Practices for Many-To-One and One-To-Many Association Mappings [thoughts-on-java.org]

A super useful list of distilled of practices to remember when working with Many-To-One and One-To-Many mappings in Hibernate.

在Hibernate中处理 “多对一 “和 “一对多 “映射时,需要记住做法的超级有用的列表。

>> flatMap() vs. concatMap() vs. concatMapEager() – RxJava FAQ [nurkiewicz.com]

>> flatMap() and the order of events – RxJava FAQ [nurkiewicz.com]

RxJava’s flatMap() is raising a lot of questions – some of them are answered here.

RxJava的flatMap()引起了很多问题–这里回答了其中一些问题。

>> Code Smells: Null [blog.jetbrains.com]

The concept of Null is a commonly acknowledged problem, but there are certain practices that can help us to not deal with it directly.

Null的概念是一个普遍承认的问题,但有一些做法可以帮助我们不直接处理它。

>> How to store schema-less EAV (Entity-Attribute-Value) data using JSON and Hibernate [vladmihalcea.com]

A quick and practical example of storing EAV data using JSON and Hibernate.

一个使用JSON和Hibernate存储EAV数据的快速而实用的例子。

>> Bean Validation 2.0 is a spec! [beanvalidation.org]

Cool – the new Bean Validation 2.0 specification is ready – you can check it out on the JSR’s page.

酷 – 新的Bean Validation 2.0规范已经准备好了 – 你可以在JSR的页面上查看它

Also worth reading:

Webinars and presentations:

网络研讨会和演讲:

Time to upgrade:

升级的时间:

2. Technical

2.技术

>> Messaging as the Single Source of Truth [confluent.io]

A comprehensive guide to using Kafka as the Event Store in a system utilizing the Event Sourcing approach. Very nice.

这是一份全面的指南,介绍了在使用事件源方法的系统中使用Kafka作为事件存储的情况。非常好。

Also worth reading:

还值得一读的是:

3. Musings

3.思索

>> In defence of pedantic tools [blog.codecentric.de]

Pedantry is often annoying but at the end of the day saves us from a lot of trouble 🙂

迂腐往往令人讨厌,但最后却能使我们免于很多麻烦 🙂。

>> Application Network Functions With ESBs, API Management, and Now.. Service Mesh? [blog.christianposta.com]

An in-depth guide to different Microservice patterns.

对不同的微服务模式的深入指导。

>> Pulling Your Team Through a Project Crunch [daedtech.com]

Crunch time is hard for everyone, but surely there are ways to make it less painful than it actually is.

紧要关头对每个人来说都很难,但肯定有办法让它不像实际那样痛苦。

Also worth reading:

还值得一读的是:

4. Comics

4.漫画

And my favorite Dilberts of the week:

还有本周我最喜欢的Dilberts。

>> Valuable Career Advice [dilbert.com]

>> Death-Eater Grey [dilbert.com]

>> Changing back to cubicles [dilbert.com]

5. Pick of the Week

5 本周精选

>> Solving Your Logging Problems with Logback [stackify.com]