Lots of interesting writeups on Java 9 this week.
本周有很多关于Java 9的有趣文章。
Here we go…
我们来了……。
1. Spring and Java
1.Spring和Java
>> IBM and Red Hat to Vote “No” on Java Modules (Jigsaw) [infoq.com]
Java 9 is scheduled to be released 3 months from now but Jigsaw is still one big controversy.
Java 9计划在3个月后发布但Jigsaw仍然是一个大争议。
What’s interesting is that the organizations voting “no” do have an interest in OSGi.
有趣的是,投 “反对票 “的组织确实对OSGi有兴趣。
>> Spring From the Trenches: Cleaning Up Our Test Code With HTTP Request Builders [petrikainulainen.net]
Usage of HTTP Request Builds allows us to avoid repetitions when writing our Spring MVC tests.
使用HTTP请求构建允许我们在编写Spring MVC测试时避免重复。
>> Java Service Loader vs Spring Factories Loader [frankel.ch]
We don’t need additional libraries to benefit from IoC in Java – we can simply use the ServiceLoader class. It can also be easily integrated with Spring.
我们不需要额外的库来受益于Java中的IoC–我们可以简单地使用ServiceLoader类。它也可以很容易地与Spring集成。
>> Bean Validation 2.0 is up for Public Review [beanvalidation.org]
The new Bean Validation JSR is available for review, so if you want to have an impact, here’s your chance.
新的Bean Validation JSR可供审查,所以如果你想产生影响,这是你的机会。
>> Java 9 Resources – Talks, Articles, Blogs, Books And Courses [codefx.org]
Java 9 should be released soon, so it’s high time to get familiar with the new tools.
Java 9应该很快就会发布,所以现在是时候熟悉新工具了。
>> Ultimate Guide – Association Mappings with JPA and Hibernate [thoughts-on-java.org]
A practical and comprehensive guide to association mappings with Hibernate.
一本关于使用Hibernate的关联映射的实用而全面的指南。
>> How to get access to database table metadata with Hibernate 5 [vladmihalcea.com]
It turns out that Hibernate can also be used for accessing database metadata.
事实证明,Hibernate也可以用来访问数据库元数据。
Also worth reading:
-
>> Java Collection Views [vavr.io]
-
>> Lessons in Abstraction: What FP Can Teach OOP [sitepoint.com]
-
>> Spock testing framework versus JUnit [codepipes.com]
-
>> Bootiful Development with Spring Boot and Angular [developer.okta.com]
Webinars and presentations:
网络研讨会和演讲:。
-
>> High Performance Managed Languages [infoq.com]
-
>> Performance Testing in Java [infoq.com]
-
>> Scala Days 2017 – Jepsen Keynote [aphyr.com]
Time to upgrade:
升级的时间:。
-
>> Spring Session 1.3.1 Released [spring.io]
-
>> Spring For Apache Kafka 2.0 Milestone 1 Available [spring.io]
-
>> IntelliJ IDEA 2017.1.3 EAP is Open [jetbrains.com]
-
>> Spring IO Platform Brussels-SR2 [spring.io]
-
>> Spring IO Platform Athens-SR5 [spring.io]
-
>> Azul Systems Launches Falcon, a New Just-in-Time Compiler for Java, Based on LLVM [infoq.com]
-
>> Mockito 2.8.24 is out [github.com]
2. Technical
2.技术
>> Simple Query String, what about it? [in.relation.to]
It turns out that Lucene’s SimpleQueryParser is now exposed in the higher level Hibernate DSL – very cool.
事实证明,Lucene的SimpleQueryParser现在暴露在更高层次的Hibernate DSL中–非常酷。
>> Code Rot [henrikwarne.com]
Code degradation with time is a natural and common problem. It’s important to identify and fix such cases early in order to avoid further codebase contamination and decay.
随着时间的推移,代码退化是一个自然的、常见的问题。重要的是要尽早识别和修复这种情况,以避免进一步的代码库污染和腐烂。
>> Let your test automation talk to you [ontestautomation.com]
>> 让你的测试自动化与你对话[ontestautomation.com]
Clean code principles are universal – test automation is not an exception 🙂
清洁代码原则是普遍的 – 测试自动化也不例外 🙂
Also worth reading:
还值得一读的是:。
-
>> Understanding When to use RabbitMQ or Apache Kafka [content.pivotal.io]
-
>> Product Routes (AKA „Roadmaps”) [codecentric.de]
-
>> An output of a truly random process [horicky.blogspot.com]
3. Musings
3.思索
>> Developer Hegemony: The Crazy Idea that Software Developers Should Run Software Development [daedtech.com]
The “Developer Hegemony” – the book that’s also the “pick” for this week.
开发者霸权》–这本书也是本周的 “精选”。
I’ve just started reading it and it’s one of the few non-audio books that I know I’m going to eventually finish.
我刚刚开始读它,它是少数几本我知道我最终会完成的非音频书籍之一。
>> Software Craftsmanship is Good Business [daedtech.com]
The law of Diminishing Returns applies to raw development skills as well. At some point, it makes more sense to focus more on good practices which will bring more profit to your clients than your ability to write complex assembly code.
回报递减法则也适用于原始开发技能。在某些时候,把注意力更多地放在良好的实践上会给你的客户带来更多的利润,而不是你写复杂的汇编代码的能力,这更有意义。
>> Being a Polyglot Programmer [infoq.com]
Being a polyglot programmer is not about mastering multiple tools but about applying a renaissance-like approach for broadening your horizons – which eventually results in leveling up your craft.
作为一个多语言程序员,并不是要掌握多种工具,而是要应用文艺复兴式的方法来拓宽你的视野–这最终会使你的技艺水平提高。
Also worth reading:
-
>> Interview Dirk Rombauts [code-cop.org]
-
>> What’s Next: Epilogue of a Book Launch [daedtech.com]
- >> Faster, higher, stronger: How the digitalization of industry is redefining value creation [allthingsdistributed.com]
4. Comics
4.漫画
And my favorite Dilberts of the week:
还有本周我最喜欢的Dilberts。
>> Give it to me straight [dilbert.com]
>> Half of the sales job [dilbert.com]
>> Can I offer you a glass of water? [dilbert.com]
5. Pick of the Week
5 本周精选
Erik’s book is finally out this week. If you’re at all interested in our industry, how it runs and how it’s going to run over the next decade – don’t miss this one:
埃里克的书终于在本周出版了。如果你对我们的行业有任何兴趣,它是如何运行的,以及它在未来十年将如何运行 – 不要错过这本书。