Lots of interesting writeups on Java 9 this week.
本周有很多关于Java 9的有趣文章。
Here we go…
我们来了……。
1. Spring and Java
1.Spring和Java
>> Five Command Line Options To Hack The Java 9 Module System [blog.codefx.org]
Java 9 will be out in a week – this is the right time to get to know the JPMS better.
Java 9将在一周内发布–这是更好地了解JPMS的正确时机。
>> Flavors of Spring application context configuration [blog.frankel.ch]
There multiple ways of configuring a Spring context – some can (maybe even should) involve Groovy and Kotlin.
配置Spring上下文有多种方式–有些可以(甚至应该)涉及Groovy和Kotlin。
>> JUnit 5 Tutorial: Writing Our First Test Class [petrikainulainen.net]
JUnit 5 has just been released – time to start putting it to work.
JUnit 5刚刚发布–是时候开始将其用于工作了。
>> Fixed-rate vs. fixed-delay – RxJava FAQ [nurkiewicz.com]
A very interesting write-up about simulating scheduleAtFixedRate and scheduleWithFixedDelay with RxJava.
关于用RxJava模拟scheduleAtFixedRate和scheduleWithFixedDelay的文章非常有趣。
>> Code Smells: If Statements [blog.jetbrains.com]
Using an if statement can be both good practice – as well as a code smell – it’s important to know when to use it.
使用if语句既是一种好的做法–也是一种代码气味–知道何时使用它很重要。
>> Lombok – You Should Definitely Give It A Try [blog.codeleak.pl]
Lombok is a great tool that can bring some fresh breath to Java and make some boilerplate go away.
Lombok是一个伟大的工具,可以为Java带来一些新鲜的气息,使一些模板消失。
>> Idiomatic concurrency: flatMap() vs. parallel() – RxJava FAQ [nurkiewicz.com]
It’s important to know the semantics of tools we’re using – otherwise, for example, we might end up with unintentional sequential processing where parallel was expected.
了解我们所使用的工具的语义是很重要的–否则,例如,我们可能会在预期并行的地方无意中出现顺序处理。
Also worth reading:
-
>> The Ceylon Language Is Now Eclipse Ceylon [infoq.com]
-
>> Java EE Security API (JSR-375) Approved [infoq.com]
-
>> How to mix Java and Kotlin within one Spring Boot Application [blog.codecentric.de]
-
>> Struts Flaw Behind Equifax Breach Disclosed and Patched in March [infoq.com]
-
>> Modern TDD-oriented Java 8 JUnit test template for Idea (with Mockito and AssertJ) [solidsoft.wordpress.com]
-
>> The Need for Speed, Access Existing Data 1,000x Faster [minborgsjavapot.blogspot.com]
-
>> Maintaining PriorityQueue Order with Java Streams [4comprehension.com]
Webinars and presentations:
网络研讨会和演讲:。
-
>> Oct 4 – Getting Reactive with Spring Framework 5.0’s GA Release Webinar [content.pivotal.io]
Time to upgrade:
升级的时间:。
-
>> Spring Framework 5.0 RC4 available now [spring.io]
-
>> Spring Framework 4.3.11 available now [spring.io]
-
>> Spring Boot 1.5.7 available now [spring.io]
-
>> JUnit 5 User Guide [junit.org]
-
>> EasyMock 3.5 is out! [blog.tremblay.pro]
-
> Hibernate ORM 5.2.11.Final released [in.relation.to]
-
>> Spring Data Ingalls SR7 and Kay RC3 released [spring.io]
-
>> 2.10.0 (2017-09-08) published to JCenter/Maven Central [github.com]
-
>> What’s New in IntelliJ IDEA 2017.3 EAP? [blog.jetbrains.com]
2. Technical
2.技术
>> NoSQL Options for Java Developers [developer.okta.com]
A comprehensive guide to NoSQL from the non-technical viewpoint 🙂
从非技术角度看NoSQL的全面指南 🙂
>> Traefik – The modern reverse proxy [blog.codecentric.de]
A cool proxy solution I didn’t know about until this writeup.
一个很酷的代理解决方案,我是在这篇报道之前才知道的。
Also worth reading:
还值得一读的是:。
-
>> New Network Load Balancer – Effortless Scaling to Millions of Requests per Second [aws.amazon.com]
-
>> Branching strategy of the Spring Data projects [blog.schauderhaft.de]
-
>> Intro to undo branches in Vim [advancedweb.hu]
3. Musings
3.思索
>> What Problems Do Microservices Solve? [daedtech.com]
Microservices are not silver bullets – they should be used when you need them and not because you want them.
微服务不是银弹–它们应该在你需要时使用,而不是因为你想要它们。
Also worth reading:
还值得一读的是:。
-
>> Yarn 1.0 Adds Workspaces, Auto-Merge and Selective Version Resolution [infoq.com]
-
>> Pairing With Developers: A Guide For Testers [dojo.ministryoftesting.com]
-
>> Pair Programming Benefits: The Business Rationale [daedtech.com]
4. Comics
4.漫画
And some cool Dilberts of the week:
还有一些很酷的迪尔贝特周。