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

最后修改: 2018年 11月 23日

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

Here we go…

我们来了……

1. Spring and Java

1.Spring和Java

>> How to parse a String into an EntityGraph with Hibernate 5.4 [thoughts-on-java.org]

An overview of this handy new feature and you can now merge multiple entity graphs into one. Very cool.

对这一方便的新功能的概述,你现在可以将多个实体图合并成一个。非常酷。

>> Definitive Guide To Switch Expressions In Java 12 [blog.codefx.org]

A detailed look at this language preview feature that addresses many shortcomings of the traditional switch statement.

详细了解这个语言预览功能,它解决了传统switch语句的许多缺点

>> Spring Boot Admin Tutorial [vojtechruzicka.com]

If you need a UI to monitor and manage a Spring Boot app and don’t want to build and maintain it yourself, check out this tool that builds a UI on top of the Actuator endpoints.

如果你需要一个UI来监控和管理Spring Boot应用,又不想自己构建和维护它,可以看看这个工具,它可以在Actuator端点的基础上构建一个UI。

>> The best way to use the JPQL DISTINCT keyword with JPA and Hibernate [vladmihalcea.com]

A great piece explaining the two meanings of the DISTINCT keyword and how to apply it correctly based on the underlying query type.

这是一篇很好的文章,解释了DISTINCT关键字的两种含义,以及如何根据基础查询类型正确应用它

>> How to use JUnit 5 @MethodSource-parameterized tests with Kotlin [blog.oio.de]

And a simple workaround for using test argument factories with JUnit 5 and Kotlin.

还有一个简单的解决方法,即在JUnit 5和Kotlin中使用测试参数工厂

Also worth reading:

Webinars and presentations:

Time to upgrade:

升级的时间:

2. Technical and Musings

2.技术和思考

>> Getting Started With Istio Service Mesh Routing [infoq.com]

A thorough review of Istio’s routing capabilities and how to leverage them in a Kubernetes cluster.

Istio的路由功能以及如何在Kubernetes集群中利用这些功能进行了全面的审查

>> How to Aggregate an Archive Log’s Deltas into a Snapshot with SQL [blog.jooq.org]

A nice write-up demonstrating a clever application of the Entity Attribute Value model that you can use to build easily-audited database entities.

一篇不错的文章,展示了实体属性值模型的巧妙应用,你可以用它来建立易于审计的数据库实体

Also worth reading:

还值得一读的是:

3. Comics

3.漫畫

And my favorite Dilberts of the week:

还有本周我最喜欢的Dilberts。

>> Bitter Losers [dilbert.com]

>> Changing the Website [dilbert.com]

>> Complaining Versus Hiding [dilbert.com]

4. Pick of the Week

4.本周精选

>> The Oatmeal Insight [theoatmeal.com]

Next »

Java Weekly, Issue 257

« Previous

Java Weekly, Issue 255

Next

Java周刊。第257期

Previous

Java Weekly, Issue 255