Java Weekly, Issue 245 – Java周刊》第245期

最后修改: 2018年 9月 7日

中文/混合/英文(键盘快捷键:t)

Here we go…

我们来了……

1. Spring and Java

1.Spring和Java

>> Bootiful GCP: Integration with Google Cloud Pub/Sub (4/8) [spring.io]

>> Bootiful GCP: Runtime Configuration with Spring Cloud GCP Runtime Config (5/8) [spring.io]

As this series continues, we see a simple Spring Integration messaging application in Google Cloud and a quick look at this handy API for managing runtime configuration properties on the Google Cloud Platform.

随着这个系列的继续,我们看到谷歌云中一个简单的Spring Integration消息应用,以及快速了解这个用于管理谷歌云平台上运行时配置属性的便捷API

>> Default methods in Java 8, and what it changes in API design [blog.frankel.ch]

A nice write-up touts some advantages that default methods in Java interfaces have over helper classes.

一篇不错的文章吹捧了Java接口中的默认方法比帮助类的一些优势。

>> The best way to clone or duplicate an entity with JPA and Hibernate [vladmihalcea.com]

A great approach to this common requirement of JPA applications using copy constructors. Good stuff.

这是一个很好的方法,可以满足JPA应用中使用复制构造函数的这个常见需求。好东西。

>> IntelliJ IDEA 2018.2 Supports Java 11, MacBook Touch Bar and More [infoq.com]

If you’re an IntelliJ devotee, you’ll want to check out these cool new features.

如果你是一个IntelliJ的信徒,你会想看看这些很酷的新功能。

>> Hibernate Tips: Validate that only 1 of 2 associations is not null [thoughts-on-java.org]

A clever way to implement a custom Bean Validation annotation using the Hibernate Validator library.

使用Hibernate Validator库实现自定义Bean Validation注解的一种巧妙方式

Also worth reading:

Webinars and presentations:

网络研讨会和演讲:

Time to upgrade:

升级的时间:

2. Technical

2.技术

>> Widespread Architectural Change Part 1 [blog.code-cop.org]

These handy macros, scripts, and IDE commands highlight some of the many ways of applying small, across-the-board changes to a large codebase.

这些方便的宏、脚本和IDE命令强调了在大型代码库中应用小的、全面的修改的一些方法

>> Is Test Driven Development Right for You? [blog.scottlogic.com]

If you’ve been holding out against adopting TDD, this article aims to convince you to rethink your position.

如果你一直坚持反对采用TDD,这篇文章旨在说服你重新考虑你的立场。

>> Combining Object Mother and Fluent Builder for the Ultimate Test Data Factory [reflectoring.io]

A great write-up on this pattern for building fully-populated test objects that you can then customize for the needs of each test. A handy tool to have in your test-writing arsenal.

关于这个模式的一篇伟大的文章,用于建立完全填充的测试对象,然后你可以根据每个测试的需要进行定制。在你的测试编写武库中拥有一个方便的工具。

>> TomEE: WebSocket and Lock it! [tomitribe.com]

A nice introduction to creating secure WebSocket endpoints using HTTP Basic Auth.

关于使用HTTP Basic Auth创建安全WebSocket端点的良好介绍。

>> Engineering to Improve Marketing Effectiveness (Part 2) — Scaling Ad Creation and Management [medium.com]

An interesting piece showcases how Netflix combines ad assembly with functional quality control and machine learning to create and deliver personalized and localized ads to its huge user base.

一篇有趣的文章展示了Netflix如何将广告组装与功能质量控制和机器学习相结合,以创建并向其庞大的用户群提供个性化和本地化的广告。

Also worth reading:

还值得一读的是:

3. Musings

3.思索

>> The Tragedy of Craftsmanship [blog.cleancoder.com]

Uncle Bob ponders how and why the Agile movement drifted from its original focus on promoting the ideals of software craftsmanship and more toward project management.

鲍勃叔叔思考了敏捷运动如何以及为何偏离了其最初的重点,即促进软件工艺的理想,而更倾向于项目管理。

>> Should Scrum Masters Make More than Software Developers? [daedtech.com]

And an insightful review of the role that Scrum Masters play, and what the need for them says about an organization.

并对Scrum Master所扮演的角色进行了深刻的回顾,以及对他们的需求说明了一个组织的情况

Also worth reading:

还值得一读的是:

4. Comics

4.漫画

And my favorite Dilberts of the week:

还有本周我最喜欢的Dilberts。

>> Radical Candor [dilbert.com]

>> Wally Working in the Cloud [dilbert.com]

>> Managing by Exception [dilbert.com]

5. Pick of the Week

5 本周精选

Last week I announced the new Spring Boot-focused material coming in REST With Spring course, along with the price change.

上周我宣布了REST With Spring课程中以Spring Boot为重点的新材料,以及价格的变化。

That price change is happening today:

这种价格变化今天正在发生:

>> The REST With Spring Course

Next »

Java Weekly, Issue 246

« Previous

Java Weekly, Issue 244

Next

Java周刊。第246期

Previous

Java Weekly, Issue 244