Java Weekly, Issue 509 – Java Weekly》第 509 期

最后修改: 2023年 9月 29日

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

1. Spring and Java

1. Spring 和 Java

>> Virtual Threads: An Adoption Guide [oracle.com]

>> 虚拟线程:采用指南 [oracle.com] </p

A comprehensive guide to Virtual Threads: covering both the theory behind it and also some practical examples of it in action.

全面的虚拟线程指南:涵盖虚拟线程背后的理论和一些实际应用实例。

>> Java 21, the Next LTS Release, Delivers Virtual Threads, Record Patterns and Pattern Matching [infoq.com]

>> Java 21,下一个 LTS 版本,提供虚拟线程、记录模式和模式匹配 [infoq.com] [infoq.

More on Java 21, with a host of new features covering all aspects of the platform: language, libraries, JVM, and tooling.

更多关于 Java 21 的内容,以及大量涵盖平台各个方面的新功能:语言、库、JVM 和工具。

>> New candidate JEP: 455: Primitive types in Patterns, instanceof, and switch (Preview) [openjdk.org]

>> 新候选 JEP:455:模式、instanceof 和 switch 中的原始类型(预览) [openjdk.org] </p

And, extending the switch expression to support both reference types and primitive types in pattern cases. Very interesting.

此外,扩展了开关表达式,使其在模式情况下同时支持引用类型和原始类型。非常有趣。

Also worth reading:

Webinars and presentations:

网络研讨会和演讲:

Time to upgrade:

升级时间:

2. Technical & Musings

2.技术与思考

>> Oops I did it again, or how to update past data in Event Sourcing [event-driven.io]

>> 哎呀,我又做了一次,或者如何在事件源中更新过去的数据 [event-driven.io] </p

Embracing changes in EDA: should we retrospectively perform in-place updates, or publish even more events?

Embracing changes in EDA:我们应该回溯性地执行就地更新,还是发布更多事件?

Also worth reading:

还值得一读:

3. Pick of the Week

3.本周精选

>> Quieting the lizard brain [seths.blog]

>>让蜥蜴大脑安静下来 [seths.blog]

Next »

Java Weekly, Issue 510

« Previous

Java Weekly, Issue 508