Java Weekly, Issue 243 – Java周刊,第243期

最后修改: 2018年 8月 24日

Here we go…


1. Spring and Java


>> Deep Dive into JUnit 5 Extension Model []

This great write-up introduces a clever extension for creating and executing BDD specification tests. Very cool.


>> How to Implement a Custom, Sequence-Based ID Generator []

If you don’t want to roll-your-own database sequences, you’ll want to check out some of the cool sequence generators that you can quickly build in Hibernate by extending its SequenceStyleGenerator class.


>> X.509 client certificates with Spring Security []

A solid overview of the entire workflow involved in securing a Spring Boot REST service using X.509 digital certificates.

对使用X.509数字证书保护Spring Boot REST服务所涉及的整个工作流程进行了翔实的概述。

>> Bootiful GCP: Getting Started with Spring Cloud for Google Cloud Platform (1/8) []

This quick introduction helps you build a basic Maven project for Spring Cloud GCP. Should be an interesting series!

这个快速介绍可以帮助你为Spring Cloud GCP构建一个基本的Maven项目。这应该是一个有趣的系列!

>> Hibernate database catalog multitenancy []

A straightforward tutorial on configuring catal0g-based multitenancy in JPA and Hibernate — especially useful for databases that distinguish between a catalog and a schema, such as MySQL.


>> I believe in Java modules []

A thoughtful piece reminding Java library developers of the benefits of migrating to the Java Platform Module System.


>> Hibernate with Kotlin – powered by Spring Boot []

A nice, hands-on article that demonstrates how to implement JPA/Hibernate entity classes in Kotlin and use them with Spring Data repositories. Good stuff.

一篇不错的实践文章,展示了如何在Kotlin中实现JPA/Hibernate实体类并将其用于Spring Data资源库。好东西。

Also worth reading:

Webinars and presentations:


Time to upgrade:


2. Technical and Musings


>> HTTPS security best practices []

So, you think you know your way around HTTPS? Make sure you’re practicing safe security with this handy collection of HTTPS “dos and donts”.

那么,你认为你对HTTPS有了解吗?通过这个方便的HTTPS “该做的和不该做的 “集合,确保你正在实践安全保障

>> Decoding Clojure code, getting your feet wet []

A short primer on some of the basic constructs and conventions of the Clojure functional language for the JVM. Sure to evoke feelings of nostalgia in former (and current) Lisp devotees.


>>Beyond Interactive: Notebook Innovation at Netflix []

See how Netflix is taking the Jupyter Notebook infrastructure beyond its roots in data science and into general-purpose applications like workflow scheduling.


>> The Pitfalls of SIT []

A reminder that system integration testing brings with it a unique set of challenges. But fear not — there are strategies to help us achieve just the right balance each step of the way.


>> Looking at randomness and performance for hash codes []

As you might expect, hashing algorithms are not one-size-fits-all commodities. Find out which ones are better suited for inputs of different lengths.


>> Before You Turn On Two-Factor Authentication… []

Even though adding 2FA is usually a good idea, it pays to know the risks involved, as well as the recovery mechanisms available, in case you get locked out of your accounts.


Also worth reading:


3. Comics


And my favorite Dilberts of the week:


>> Jerry the Contract Employee []

>> What Makes an Idea Great? []

>> It’s an Engineering Secret []

4. Pick of the Week


>> The One Rule for Life []

Next »

Java Weekly, Issue 244

« Previous

Java Weekly, Issue 242




Java Weekly, Issue 242