Lots of interesting writeups on Java 9 this week.
本周有很多关于Java 9的有趣文章。
Here we go…
我们来了……。
1. Spring and Java
1.Spring和Java
>> Immutable Collections in Java 9 [javaspecialists.eu]
Java 9 will feature a new way of defining truly immutable collections – this is a quick intro to creating them and doing some basic operations.
Java 9将采用一种新的方式来定义真正不可变的集合–这是一个关于创建集合和进行一些基本操作的快速介绍。
>> How to shoot yourself in the foot building a Java Agent [plumbr.eu]
Building a reliable, production-ready Java agent is tricky – here are a few things to definitely be aware of.
构建一个可靠的、可生产的Java代理是很棘手的–这里有几个一定要注意的地方。
>> The best way to use entity inheritance with JPA and Hibernate [vladmihalcea.com]
Entity inheritance is a complex topic, so it’s important to pick the right strategy from the start when it comes to the structure of your DB.
实体继承是一个复杂的话题,所以当涉及到你的数据库结构时,从一开始就选择正确的策略是很重要的。
Also worth reading:
-
>> Using Java Bean Validation for Method Parameters and Return Values [sitepoint.com]
-
>> jhsdb: A New Tool for JDK 9 [marxsoftware.blogspot.com]
-
>> Testing Exceptions With JUnit 5 [blog.codeleak.pl]
Webinars and presentations:
网络研讨会和演讲:。
-
>> Why We Chose Erlang over Java, Scala, Go, C [infoq.com]
-
>> Kiki Carter, Enterprise Architect at Lightbend, Speaks to InfoQ at ETE [infoq.com]
Time to upgrade:
升级的时间:。
-
>> Triple Hibernate Search release [in.relation.to]
-
>> Spring Web Flow 2.4.5 released [spring.io]
-
>> Dependency Management Plugin 1.0.3.RELEASE [spring.io]
2. Technical
2.技术
>> The HDFS Juggernaut [shodan.io]
Ransomware attacks on public instances still seem to affect MongoDB instances and HDFS deployments.
对公共实例的勒索软件攻击似乎仍然影响MongoDB实例和HDFS部署。
>> What’s Your Decomposition Strategy? [builttoadapt.io]
When you decide to adopt a Microservices Architecture or simply decide to your system into smaller pieces – it’s good to have a clear strategy of exactly how you’re going to go about this task of decomposition.
当你决定采用微服务架构或只是决定将你的系统分成更小的部分时,最好有一个明确的策略,说明你将如何进行这一分解任务。
Also worth reading:
还值得一读的是:。
-
>> Microservices Patterns With Envoy Proxy, Part III: Distributed Tracing [blog.christianposta.com]
-
>> IntelliJ IDEA 2017.2 EAP: Better Code Completion and VCS Support [jetbrains.com]
-
>> How to Find Redundant Indexes in SQL [jooq.org]
3. Musings
3.思索
>> “Architect” Should Be a Role, Not a Position [techblog.bozho.net]
It’s reasonable to apply Agile principles and think in terms of roles and not permanent positions – various experiences will lead to better decisions.
应用敏捷原则,从角色而非永久职位的角度考虑是合理的–各种经验将导致更好的决定。
>> It depends [frankel.ch]
Instead of going with the traditional “it depends”, it makes a lot of sense to ask good questions and squeeze as much information as possible and get the whole context – before giving a meaningful answer.
与其采用传统的 “这取决于”,不如提出好的问题,尽可能多地榨取信息,了解整个背景–在给出一个有意义的答案之前,这是很有意义的。
>> How to Freelance: The Low-Risk Path from Software Developer [daedtech.com]
If you start introducing side-kick projects gradually, you will, earlier than expected, end up in a situation when the day job is the one that’s holding you back.
如果你开始逐步引入副业项目,你会比预期的更早地陷入一种情况,即白天的工作是阻碍你发展的因素。
>> Hacker, Hack Thyself [codinghorror.com]
Trying to hack your own system can be an endless source of security improvements.
试图黑掉自己的系统可以是一个无尽的安全改进来源。
>> Lessons learned while training [ontestautomation.com]
Training work has its own set of challenges – very interesting to have a look if you’re in that space or thinking about it.
培训工作有它自己的一套挑战–如果你在那个空间或在考虑它,看一看非常有趣。
>> Characteristics of Good APIs [daedtech.com]
Carefully crafted, self-discoverable and intuitive APIs are always a pleasure to work with.
精心制作的、可自我发现的和直观的API总是令人愉快的工作。
And, in my experience, that can make the difference between a successful product and a product problem.
而且,根据我的经验,这可以使一个成功的产品和一个产品问题之间产生差异。
Also worth reading:
还值得一读的是:。
-
>> No politics please, we’re hackers, too busy to improve the world [jacquesmattheij.com]
-
>> The vicious circle of bad test code and how to break it [codecentric.de]
-
>> Diversity in Technology and Open Source [lucumr.pocoo.org]
4. Comics
4.漫画
And my favorite Dilberts of the week:
还有本周我最喜欢的Dilberts。