Lots of interesting writeups on Java 9 this week.
本周有很多关于Java 9的有趣文章。
Here we go…
我们来了……。
1. Spring and Java
1.Spring和Java
>> Project Amber: The Future of Java Exposed [takipi.com]
The future Java with Local Variable Type Inference, Enhanced Enums, and Lambda Leftovers definitely looks interesting. Let’s hope we won’t have to wait for too long ?
带有本地变量类型推断、增强型枚举和Lambda遗留物的未来Java看起来绝对有趣。让我们希望我们不必等待太长时间。
>> Java SE 9 – JPMS modules are not artifacts [joda.org]
Java 9 should be released in a few months, so this is a good time to brush up on our knowledge about the upcoming module system.
Java 9应该在几个月内发布,所以现在是一个很好的时机,让我们补习一下关于即将到来的模块系统的知识。
>> Spring Boot, @EnableWebMvc And Common Use-Cases [techblog.bozho.net]
It turns out that the standard @EnableWebMvc annotation does not integrate well with Spring Boot and can turn off some of its autoconfiguration magic.
事实证明,标准的@EnableWebMvc注解并不能很好地与Spring Boot整合,而且可以关闭它的一些自动配置魔法。
>> Mapping Definitions in JPA and Hibernate – Annotations, XML or both? [thoughts-on-java.org]
Each of those approaches has its own set of benefits and challenges. The rule of thumb would be to stick to only one of them but if you still want to use both, remember that XML mappings override those configured using annotations.
这些方法中的每一种都有自己的好处和挑战。经验法则是只坚持使用其中之一,但如果你仍然想同时使用这两种方法,请记住 XML映射覆盖那些使用注释配置的映射。
>> Spring Security – Programmatic Registration of Java Configuration Beans [baselogic.com]
Many developers tend to stick to XML-based config when configuring their Spring applications. It’s good to recall that almost everything can be achieved now with a Java-based config.
许多开发者在配置他们的Spring应用程序时倾向于坚持使用基于XML的配置。不妨回顾一下,现在几乎所有的事情都可以通过基于Java的配置来实现。
>> Thymeleaf 3 Standard Layout System Improvements [codeleak.pl]
There were some improvements introduced to Thymeleaf recently and there are few small things to remember about.
最近对Thymeleaf进行了一些改进,有几件小事需要记住。
>> The best way to do batch processing with JPA and Hibernate[vladmihalcea.com]
A quick and practical example of implementing batch processing using JPA and Hibernate only.
一个快速实用的例子,仅使用JPA和Hibernate实现批处理。
Also worth reading:
还值得一读的是:。
-
>> Fixing my own Spring Boot starter demo [blog.frankel.ch]
-
>> Q&A with Marcin Grzejszczak on Spring Cloud Contract [infoq.com]
-
>> Hibernate Tips: How to validate that an entity attribute value is within a defined range [thoughts-on-java.org]
-
>> Java word banned once and for all? [tomaszdziurko.com]
-
>> Spring Web-Flux – Functional Style with Cassandra Backend [java-allandsundry.com]
-
>> Java and Docker: Now and the Future [marxsoftware.blogspot.com]
Webinars and presentations:
网络研讨会和演讲:。
-
>> JUnit 5 at Devoxx US 2017 [marcphilipp.de]
-
>> Java EE, Microservices and HTML 5 — Bucharest Voxxed Days Keynote [adambien.blog]
Time to upgrade:
升级的时间:。
-
>> Spring Boot 1.5.3 Available Now [spring.io]
-
>> Spring Boot 1.4.6 Available Now [spring.io]
-
>> Spring Cloud Data Flow 1.2 RC1 released [spring.io]
-
>> Spring Cloud Pipelines 1.0.0.M4 Released [spring.io]
-
>> Spring REST Docs 1.2.0.RELEASE [spring.io]
-
>> Spring REST Docs 1.1.3.RELEASE [spring.io]
-
>> IntelliJ IDEA 2017.1.2 Update is Available [jetbrains.com]
-
>> Spring Cloud Task 1.2.0.RELEASE is now available [spring.io]
2. Technical
2.技术
>> The Hardest Part of Microservices: Calling Your Services [christianposta.com]
Microservices have their own set of challenges, and calling them successfully is certainly one of them.
微服务有自己的一套挑战,成功调用它们当然是其中之一。
>> Using JsonPath and XmlPath in REST Assured [ontestautomation.com]
Quick and practical examples of using JsonPath and XmlPath with REST-assured.
使用JsonPath和XmlPath与REST-assured的快速和实际例子。
Also worth reading:
还值得一读的是:。
-
>> Robotic Process Automation with Kofax Kapow [codecentric.de]
-
>> Event time processing in Apache Spark and Apache Flink [codecentric.de]
3. Musings
3.思索
>> Your Job Title of Tomorrow: Efficiencer [daedtech.com]
At the end of the day, software developers get hired to optimize and automate so it’s important to market yourself as someone that solves problems and not someone that simply develops things.
在一天结束时,软件开发人员被雇用来进行优化和自动化,所以重要的是要把自己推销成一个能解决问题的人,而不是一个简单开发东西的人。
Also worth reading:
还值得一读的是:。
-
>> Why is Staff Aug a Dirty Term? [daedtech.com]
-
>> Emerging Technologies for the Enterprise Conference 2017: Day One Recap [infoq.com]
-
>> A Closer Look at the Efficiencer Firm [daedtech.com]
4. Comics
4.漫画
And my favorite Dilberts of the week:
还有本周我最喜欢的Dilberts。