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

最后修改: 2023年 11月 24日

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

1. Spring and Java

1. Spring 和 Java

>> How to cascade DELETE with Spring and Hibernate events [vladmihalcea.com]

>> 如何使用 Spring 和 Hibernate 事件级联 DELETE [vladmihalcea.com].

Taking advantage of Hibernate’s event listeners to cascade a DELETE operation to other entities

利用Hibernate 的事件侦听器将 DELETE 操作级联到其他实体

>> JEP targeted to JDK 22: 459: String Templates (Second Preview) [inside.java]

>> 面向 JDK 22 的 JEP:459:字符串模板(第二次预览) [inside.java] </p

Another preview of String Templates in Java 22: enhancing literal texts with embedded expressions and template processors

Java 22 中字符串模板的另一个预览:使用嵌入式表达式和模板处理器增强字面文本

>> Spring Framework 6.1 goes GA [spring.io]

>> Spring Framework 6.1 goes GA [spring.io] </p

And, embracing JDK 21, project Loom, JVM checkpoint restore, new RestClient, and many more in a new version of Spring Framework

此外,新版本的 Spring Framework 还支持 JDK 21、项目 Loom、JVM 检查点恢复、新的 RestClient 以及更多功能

Also worth reading:

Webinars and presentations:

网络研讨会和演讲:

Time to upgrade:

升级时间:

2. Technical & Musings

2.技术与思考

>> A retrospective on Errors Management: where do we go from here? [blog.frankel.ch]

>> 错误管理回顾:我们何去何从? [blog.frankel.ch] </p

An overview of different ways of error handling: return codes, exceptions, recoverability, error values, pattern matching, and more!

错误处理的不同方法概述:返回代码、异常、可恢复性、错误值、模式匹配等!

>> Efficiently Arranging Test Data: Streamlining Setup With Instancio [infoq.com]

>> 有效安排测试数据:使用 Instancio 简化设置 [infoq.com] </p

Automated test data generation: solving the need for random test data using Instancio.

自动测试数据生成:使用 Instancio 解决对随机测试数据的需求。

Also worth reading:

还值得一读:

3. Pick of the Week

3.本周精选

We’re in the last few days of our only sale of the year, Black Friday: 

今年唯一的促销活动 “黑色星期五 “已进入最后几天:

>> All Spring Courses

>> 所有Spring课程

Next »

Java Weekly, Issue 518

« Previous

Java Weekly, Issue 516