Lots of interesting writeups on Java 9 this week.
本周有很多关于Java 9的有趣文章。
Here we go…
我们来了……。
1. Spring and Java
1.Spring和Java
>> Troubleshooting Memory Issues in Java Applications [infoq.com]
Fixing memory issues can be challenging. This comprehensive guide will give you an idea where to start looking for when you encounter them.
修复内存问题可能是一个挑战。这份全面的指南将让你知道当你遇到这些问题时应该从哪里开始寻找。
>> Pipeline as code with a Spring Boot application [pragmaticintegrator.wordpress.com]
“Infrastructure as Code” is not a new approach, but definitely still very interesting for the significant advantages and maturity it brings.
“基础设施即代码 “并不是一个新的方法,但由于其带来的显著优势和成熟度,肯定仍然非常有趣。
>> Types Are Mightier Than Tests [sitepoint.com]
>> 类型比测试更强大[sitepoint.com]
TDD is a powerful and necessary tool, although sometimes a weak one when it comes to checking the correctness of imperative programs. Higher abstractions coupled with strong type system can make your life easier by decreasing the number of spots where mistakes can even be made.
TDD是一个强大而必要的工具,尽管在检查命令式程序的正确性时有时是一个弱点。更高的抽象加上强大的类型系统可以使你的生活更轻松,因为它减少了可能犯错的地方的数量。
>> Coping with stringly-typed [frankel.ch]
In the world of strong static typing, sometimes it’s easy to abuse String type. There are some solutions to dealing with such situations.
在强静态类型的世界里,有时很容易滥用String类型。有一些处理这种情况的解决方案。
>> 5 new features in Hibernate 5 every developer should know [thoughts-on-java.org]
There are a few new interesting features in the newest Hibernate release.
在最新的Hibernate版本中,有几个有趣的新功能。
Also worth reading:
还值得一读的是:。
- >> Spring Boot: Hello World, Kotlin [moelholm.com]
-
>> Java’s If Statement in Five Minutes [sitepoint.com]
-
>> The Ultimate Java Logging Dictionary: What Are the Most Common Words Developers Log? [takipi.com]
-
>> Deprecating Java’s Finalizer [marxsoftware.blogspot.com]
-
>> Hibernate Tips: How to map a bidirectional many-to-many association [thoughts-on-java.org]
-
>> Beware of slow transaction callbacks in Spring [nurkiewicz.com]
-
>> Run Eclipse IDE on One Version of Java, but Target Another [waynebeaton.wordpress.com]
-
>> Consumer Driven Testing with Pact & Spring Boot [briandupreez.net]
Webinars and presentations:
网络研讨会和演讲:。
-
>> Practical Data Synchronization using CRDTs [infoq.com]
-
>> Webinar: Strategic (Domain Driven) Design with Spring Boot [spring.io]
-
>> Spring Tips: the Spring Web Flux Reactive Client [spring.io]
Time to upgrade:
升级的时间:。
-
>> Dependency Management Plugin 1.0.1.RELEASE [spring.io]
-
>> Spring Cloud Camden.SR6 is available [spring.io]
-
>> Spring Integration Extension for AWS 1.1.0 M1 Available [spring.io]
-
>> Hibernate ORM 5.1.5.Final released [in.relation.to]
2. Technical
2.技术
>> Kotlin 1.1 Adds Coroutines, Type Aliases, Improved JavaScript Support [infoq.com]
Looks like Kotlin is getting even more very interesting features. I am definitely curious how this one will develop over time.
看起来Kotlin正在获得更多非常有趣的功能。我肯定很好奇,随着时间的推移,这个将如何发展。
>> SelfEncapsulation [martinfowler.com]
An interesting approach where you restrict yourself to using getters/setters when possible instead of accessing fields directly. This can make refactoring much easier if some additional non-standard logic needs to be performed when accessing fields.
一个有趣的方法是,你限制自己尽可能地使用getters/setters,而不是直接访问字段。如果在访问字段时需要执行一些额外的非标准逻辑,这可以使重构变得更加容易。
>> Protecting Sensitive Data [techblog.bozho.net]
A few tips for increasing security of your highly sensitive data.
提高高度敏感数据安全性的几个提示。
>> Is An Agile Java Standard Possible? [sitepoint.com]
And some interesting thoughts about the state of the Java platform development. It turns out that making the whole process Agile might be not that easy.
还有一些关于Java平台开发状况的有趣想法。事实证明,使整个过程敏捷化可能并不那么容易。
Also worth reading:
还值得一读的是:。
-
>> Open Source Linkerd Project Celebrates First Anniversary in Quest to Become TCP/IP of Microservices [infoq.com]
-
>> Stable Priority Queues? [lemire.me]
-
>> More troubles with test data [ontestautomation.com]
-
>> How to store date, time, and timestamps in UTC time zone with JDBC and Hibernate [vladmihalcea.com]
-
>> Spock tricks – Simplified Optional stubbing with custom default responses [solidsoft.wordpress.com]
-
>> Akka Best Practices: Defining Actor Props [codecentric.de]
-
>> Back-to-Basics Weekend Reading: The Foundations of Blockchain [allthingsdistributed.com]
3. Musings
3.思索
>> Programmer Career Planning [henrikwarne.com]
Sometimes it’s worth leaving the comfort zone in order to learn something new and to increase your position in the market.
有时值得离开舒适区,以便学习新东西,提高你在市场中的地位。
>> Password Rules Are Bullshit [codinghorror.com]
Strict password policies can be irritating especially when your randomly generated password does not match all required criteria 🙂
严格的密码政策可能会令人恼火,特别是当你随机生成的密码不符合所有要求的标准时 🙂
>> The Case for a Team Standard [daedtech.com]
It’s important to make sure that your standards not only exist but are also high.
重要的是要确保你的标准不仅存在,而且是高的。
Also worth reading:
还值得一读的是:。
-
>> BDD & The Feynman Technique [ideas.riverglide.com]
-
>> So, You’ve Inherited a Legacy Codebase [daedtech.com]
-
>> The Lean Inception [martinfowler.com]
-
>> How companies can become magnets for digital talent [allthingsdistributed.com]
4. Comics
4.漫画
And my favorite Dilberts of the week:
还有本周我最喜欢的Dilberts。