Lots of interesting writeups on Java 9 this week.
本周有很多关于Java 9的有趣文章。
Here we go…
我们来了……。
1. Spring and Java
1.Spring和Java
>> Oracle Looking to Move Java EE to Open Source Foundation [infoq.com]
The Java EE team is considering going to an open-source, third-party foundation.
Java EE团队正在考虑转到一个开源的第三方基金会。
I think that’s going to be a great step forward – I hope it really works out this way 🙂
我认为这将是一个伟大的进步–我希望它真的能这样发展 🙂。
>> How Java 9 Incubator Modules Will Change the Future of Java [takipi.com]
Incubator modules will be an interesting feature of the JPMS – they will allow a safe introduction of unfinished or experimental APIs.
孵化器模块将是JPMS的一个有趣的功能–它们将允许安全地引入未完成的或实验性的API。
>> Introducing Actuator Endpoints in Spring Boot 2.0 [spring.io]
Spring Boot 2.0 brings many important (and cool) changes to Actuators, along with the support for Spring MVC, Spring WebFlux, and Jersey.
Spring Boot 2.0 为 Actuators 带来了许多重要的(也是很酷的)变化,同时也支持 Spring MVC、Spring WebFlux 和 Jersey。
>> Vavr, Collections, and Java Stream API Collectors [4comprehension.com]
It turns out that the Stream API Collectors can be used easily with Vavr (formerly Javaslang) Collections and even with tools like Option or Try.
事实证明,流API采集器可以很容易地用于Vavr(以前的Javaslang)集合,甚至可以用于Option或Try.等工具。
>> Fast Forward >> Vavr 1.0 [blog.vavr.io]
The rebranded Javaslang is approaching the first full release under the new name – which will include numerous changes like splitting the main artifact into smaller ones, and Java interoperability improvements.
重新命名的Javaslang正在接近新名称下的第一个完整版本–它将包括许多变化,如将主要的人工制品拆分成小的,以及Java互操作性的改进。
>> Rise and fall of JVM languages [frankel.ch]
I always find it interesting to look at the high-level state of our ecosystem.
我总是觉得看一下我们生态系统的高层状态很有趣。
My one note here is that I would have liked to also see Clojure in there as well.
我想说的是,我希望在这里也能看到Clojure。
Also worth reading:
-
>> Guide to Spring Boot REST API Error Handling [toptal.com]
-
>> Hibernate Tips: How to map an association to a Map [thoughts-on-java.org]
-
>> The best way to implement an audit log using Hibernate Envers [vladmihalcea.com]
-
>> Cancel CompletableFuture [blog.tremblay.pro]
-
>> How to Effectively use Groovy GPath in REST Assured – Part 3: GPath XML [james-willett.com]
Webinars and presentations:
网络研讨会和演讲:。
-
>> Migrating Speedment to Java 9 [infoq.com]
Time to upgrade:
升级的时间:。
-
>> Hibernate ORM 5.1.10.Final released [in.relation.to]
-
>> Hibernate Validator 6.0.2.Final released [in.relation.to]
-
>> First candidate release of Hibernate Search 5.8.0! [in.relation.to]
-
>> IntelliJ IDEA 2017.2.3 RC is Out [blog.jetbrains.com]
-
>> Spring Cloud Dalston SR3 Is Now Available [spring.io]
-
>> IntelliJ IDEA 2017.2.2: Kotlin 1.1.4, Better Performance and More [blog.jetbrains.com]
2. Technical
2.技术
>> Leveraging the Power of a Database ‘Unbundled’ [confluent.io]
“Unbundling” a database makes it possible to share it between multiple services without causing an unnecessary coupling.
为数据库 “松绑 “使其有可能在多个服务之间共享,而不会造成不必要的耦合。
>> Code Smells: Deeply Nested Code [jetbrains.com]
A cool case-study of refactoring code containing multiple nested for and if statements.
一个关于重构包含多个嵌套for和if语句的代码的很酷的案例研究。
Also worth reading:
还值得一读的是:。
-
>> Stubbing Key-Value Stores [techblog.bozho.net]
-
>> Not everything that is vital is also your core business [codecentric.de]
-
>> APIs as infrastructure: future-proofing Stripe with versioning [stripe.com]
-
>> Git: A guide to create self-reviewed merge requests [advancedweb.hu]
-
>> Sharing state between steps in Cucumber-JVM using Guice [thinkcode.se]
3. Musings
3.思索
>> Perspective on Architectural Fitness of Microservices [infoq.com]
Microservices are not a recipe for a universally applicable architecture.
微服务不是一个普遍适用的架构的秘诀。
Like anything else – they need to be applied when there are specific problems to be solved.
像其他东西一样–它们需要在有具体问题需要解决时应用。
>> How You’re Probably Misunderstanding TDD [daedtech.com]
There are many misconceptions about the TDD out there – here are just some of the most interesting ones.
外面有许多关于TDD的误解 – 这里只是一些最有趣的误解。
Also worth reading:
还值得一读的是:。
-
>> Guard Rails, Not Prison Bars [thecodewhisperer.com]
-
>> Are Code Rules Meant to Be Broken? [daedtech.com]
4. Comics
4.漫画
And my favorite Dilberts of the week:
还有本周我最喜欢的Dilberts。
>> The urge to disagree [dilbert.com]
>> Attention span [dilbert.com]
>> Ethics [dilbert.com]
5. Pick of the Week
5 本周精选
This week I’ve finally announced the new stuff that’s coming down the pike in my REST With Spring course – all related to Spring 5 (along with the upcoming price change):
本周我终于宣布了我的REST With Spring课程中即将推出的新内容–都是与Spring 5有关的(还有即将到来的价格变化)。