Lots of interesting write-ups on Java 9 this week.
本周有很多关于Java 9的有趣文章。
Here we go…
我们来了……。
1. Spring and Java
1.Spring和Java
>> Painlessly Migrating do Java Jigsaw Modules – a Case Study [infoq.com]
Modularity is the next big thing in the upcoming Java version. Let’s have a look at options for modularizing existing applications.
模块化是即将到来的Java版本中的下一件大事。让我们看一下模块化现有应用程序的选项。
>> A JDeps Primer – Analyzing Your Project’s Dependencies [blog.codefx.org]
A quick and practical overview of JDeps – a tool for analyzing project’s dependencies.
对JDeps–一种分析项目依赖关系的工具进行了快速而实用的概述。
>> Don’t Extract Everything Into a Method [blog.jooq.org]
We can use labels in Java – which is something many developers don’t necessarily remember. These can be beneficial in a few particular scenarios – and might help us avoid artificial extraction of short, locally used methods.
我们可以在Java中使用标签–这是许多开发者不一定记得的东西。这些在一些特殊情况下是有好处的–可能会帮助我们避免人为地提取短的、局部使用的方法。
>> Basic Spring web application in Java, Kotlin, and Scala – comparison [rskupnik.github.io]
A very interesting comparison of the same simple Spring application written in 3 different JVM languages.
用3种不同的JVM语言编写的同一个简单的Spring应用程序进行了非常有趣的比较。
Also worth reading:
-
>> Mocks or the real thing? Tips for better unit testing [blog.codecentric.de]
-
>> Java Command-Line Interfaces (Part 8): Argparse4j [marxsoftware.blogspot.com]
-
>> Protecting a Spring Boot App with Apache Shiro [developer.okta.com]
-
>> Hibernate Tips: How to fetch associations in batches [thoughts-on-java.org]
-
>> Don’t Overdo the “Principle of Least Astonishment” Cargo Cult [blog.jooq.org]
-
>> Caching using RestTemplate, Ehcache and ETags [tech.asimio.net]
-
>> JetBrains Elected to the JCP Executive Committee [infoq.com]
Time to upgrade:
升级的时间:。
-
>> Spring Security OAuth 2.2.0.RC1 Released [spring.io]
-
>> Spring Integration Extension for Hazelcast 1.0.0 GA Available [spring.io]
-
>> IntelliJ IDEA 2017.2 is Here: Smart, Sleek, and Snappy [blog.jetbrains.com]
-
>> Hibernate Search 5.8.0.Beta4 is out with AWS integration [in.relation.to]
2. Technical
2.技术
>> Basic API Rate-Limiting [techblog.bozho.net]
If we want to apply client-specific rate limiting, a standard load balancer might be not enough – especially when there’s no uniform way of identifying clients. Guava RateLimiter can be a good choice here.
如果我们想应用针对客户的速率限制,标准的负载均衡器可能是不够的–特别是当没有统一的方法来识别客户时。Guava RateLimiter在这里可以是一个不错的选择。
>> TestContainers: making Java integration tests easy [zeroturnaround.com]
TestContainers is definitely a very interesting library for quick setup and management of test environments. We can quickly run and manage database instances or anything that can run inside Docker containers.
TestContainers绝对是一个非常有趣的库,用于快速设置和管理测试环境。我们可以快速运行和管理数据库实例或任何可以在Docker容器内运行的东西。
Also worth reading:
还值得一读的是:。
-
>> CQRS and Event Sourcing Microservices on CloudFoundry [benwilcock.wordpress.com]
-
>> How to Deliver an Event-driven Architecture [content.pivotal.io]
-
>> Regression model outputting probability density distribution [horicky.blogspot.com]
-
>> Gatling Load Testing Part 2 – Extending Gatling [blog.codecentric.de]
3. Musings
3.思索
>> Blockchain, the next big thing? [blog.codecentric.de]
Blockchain technologies are getting more and more popular.
区块链技术正变得越来越流行。
Also worth reading:
还值得一读的是:。
-
>> Demystifying the Dependency Inversion Principle [blog.thecodewhisperer.com]
-
>> A use-case for Google Fusion Tables [blog.frankel.ch]
-
>> Static Analysis to Hide My Ignorance about Global Concerns [daedtech.com]
-
>> A Helping Hand [lizkeogh.com]
-
>> How to Analyze a Static Analyzer [daedtech.com]
4. Comics
4.漫画
And my favorite Dilberts of the week:
还有本周我最喜欢的Dilberts。