Here we go…
我们来了……。
1. Spring and Java
1.Spring和Java
>> Optimistic locking in JPA/Hibernate [blog.arnoldgalovics.com]
A good review of lost update anomalies and how to detect them using versioned and non-versioned optimistic database locks.
对丢失的更新异常以及如何使用版本控制和非版本控制的乐观数据库锁来检测它们的良好评论。
>> Bootiful GCP: Relational Data Access with Spring Cloud GCP (2/8) [spring.io]
In this installment in the series on Spring Boot and the Google Cloud Platform, we see how easy it is to connect to a managed MySQL database and perform some basic queries.
在关于Spring Boot和谷歌云平台系列的这一期中,我们看到连接到管理的MySQL数据库并执行一些基本查询是多么容易。
>> Bootiful GCP: Globally Consistent Data Access with Spanner (3/8) [spring.io]
And for an encore, this tutorial walks us through integrating to Google Spanner using Spring Data. Very cool.
作为重头戏,本教程将带领我们完成使用Spring Data整合到Google Spanner。非常酷。
>> Hibernate Tips: Map 1 Entity Attribute to 2 Columns [thoughts-on-java.org]
A nice write-up gives us a way to solve a problem commonly seen in legacy database code by using a transient property and two internal attributes.
一篇不错的文章为我们提供了一种方法,通过使用一个瞬时属性和两个内部属性来解决在传统数据库代码中常见的问题。
>> Hibernate database schema multitenancy [vladmihalcea.com]
In this follow-up to last week’s piece on catalog-based multitenancy, we see how schema-based multitenancy is suitable for databases that drive a clear distinction between a catalog and schema, such as PostgreSQL.
在上周关于基于目录的多租户的文章的后续文章中,我们看到基于模式的多租户是如何适用于驱动目录和模式之间有明确区别的数据库的,比如PostgreSQL。
>> Build a MySQL Spring Boot App Running on WildFly on an Azure VM [infoq.com]
A good tutorial on creating a MySQL server using Azure Database for MySQL and connecting to it from a Wildfly-based Spring Boot app. Good stuff.
关于使用Azure Database for MySQL创建MySQL服务器并从基于Wildfly的Spring Boot应用连接到它的良好教程。好东西。
>> Java is still available at zero-cost [blog.joda.org]
Despite the rumors, Java is still free, but be prepared to shell out big bucks if you insist on remaining on older versions and still rely on Oracle for support.
尽管有传言说,Java仍然是免费的,但如果你坚持使用旧版本,并且仍然依赖甲骨文的支持,那么你要准备好大笔的钱。
>> Migrate Maven Projects to Java 11 [winterbe.com]
A solid resource if you simply want to run your applications on JDK 11 but don’t care about the new Jigsaw module system.
如果你只是想在JDK 11上运行你的应用程序,但不关心新的Jigsaw模块系统,这是一个可靠的资源。
Also worth reading:
-
>> String.valueOf(Object) versus Objects.toString(Object) [marxsoftware.blogspot.com]
-
>> How to fix the Hibernate “No Dialect mapping for JDBC type” issue [vladmihalcea.com]
-
>> Jib, a Java Container Image Builder from Google [infoq.com]
-
>> Uber Open Sources JVM Profiler for Tracing Distributed JVMs [infoq.com]
-
>> TomEE: Using JCache with CDI [tomitribe.com]
-
>> QCon New York 2018: Better Developer Experience at Netflix: Polyglot and Containers [infoq.com]
Time to upgrade:
升级的时间:。
-
>> Hibernate Validator 6.0.13.Final released [in.relation.to]
-
>> Spring Security OAuth2 Boot Auto-config 2.0.4 & 2.1.0.M2 Released [spring.io]
-
>> Eclipse Releases Versions 1.4 and 2.0 of MicroProfile [infoq.com]
-
>> JDK 11: First Release Candidate [mail.openjdk.java.net]
2. Technical and Musings
2.技术和思考
>> How to extract a data-rich service from a monolith [martinfowler.com]
Another promising series – this installment prescribes a pattern for this task as a series of steps aimed at minimizing disruptions to service consumers. A great approach.
另一个有希望的系列–这一期为这项任务规定了一个模式,作为一个系列的步骤,旨在最大限度地减少对服务消费者的干扰。一个伟大的方法。
>> Back to basics: Dependency Injection [blog.frankel.ch]
A quick refresher course touts the merits of DI, even as many are questioning its value due to misinformation.
快速复习课程吹捧了DI的优点,即使许多人因错误信息而质疑其价值。
>> Why certificate pinning with HPKP is a bad idea [advancedweb.hu]
A study of HTTP Public Key Pinning — it may sound good at first but comes with unacceptable risks. Steer clear.
对HTTP公钥锁的研究–起初可能听起来不错,但却有不可接受的风险。谨慎行事。
>> Orange Code [michaelfeathers.silvrback.com]
An insightful analogy compares — wait for it — apples to oranges, where the apples are monolithic methods, and the oranges are their carefully crafted equivalents, achieved through method extraction.
一个有见地的比喻是将苹果和橘子进行比较–等等–苹果是单一的方法,而橘子是它们精心制作的对等物,通过方法提取实现。
>> The State of Agile Software in 2018 [martinfowler.com]
A thoughtful write-up outlines some of the challenges that Agile must overcome, such as “faux agile” and the “Agile Industrial Complex”.
一篇深思熟虑的文章概述了敏捷必须克服的一些挑战,如 “假敏捷 “和 “敏捷工业综合体”。
>> Transmuting Low-Value Programmer Cred into High-Value Status lllegibility [daedtech.com]
A fascinating look into the dynamics that influence programmer hiring practices.
对影响程序员招聘行为的动态进行了精彩的探讨。
Also worth reading:
还值得一读的是:。
-
>> Setting up Netdata monitoring with Slack alarms [blog.arnoldgalovics.com]
-
>> Lessons learned after serving thousands of concurrent users in a devops team for a year [vanwilgenburg.wordpress.com]
-
>> Setting expectations [dandreamsofcoding.com]
-
>> Understanding IoT (Part 1) [blog.codecentric.de]
-
>> Understanding IoT (Part 2) [blog.codecentric.de]
-
>> Part 2: Scheduling Notebooks at Netflix [medium.com]
-
>> The Future of Software Delivery is Code. And It’s Here [the-composition.com]
3. Comics
3.漫畫
And my favorite Dilberts of the week:
还有本周我最喜欢的Dilberts。
>> Time Management According to Dogbert [dilbert.com]
>> Wally as a Mentor [dilbert.com]
>> We Like Databases [dilbert.com]
4. Pick of the Week
4.本周精选
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 Boot 2 and Spring 5.1 (along with the upcoming price change):
本周我终于宣布了我的REST With Spring课程中即将推出的新内容–都是与Spring Boot 2和Spring 5.1有关的(同时还有即将到来的价格变化)。
>> The upcoming new modules in REST With Spring