Lots of interesting writeups on Java 9 this week.
Here we go…
1. Spring and Java
>> Accessing private state of Java 9 modules [in.relation.to]
The introduction of modularity to Java 9 sheds new light on accessing private fields using “deep reflection”. As well as creates problems for libraries such as Hibernate or Lombok.
>> Running Spring Boot Apps on Docker Windows Containers with Ansible: A Complete Guid****e incl Packer, Vagrant & Powershell [codecentric.de]
It turns out we can run real Docker containers on Windows without using virtual machines 🙂
>> Which Java Logging Framework Has the Best Performance? [sitepoint.com]
A comprehensive guide to Java logging from the performance side of things.
Also worth reading:
>> JUnit 5: Kotlin [stylingandroid.com]
>> How to change private static final fields [sebastian-daschner.com]
>> Unit testing classes that depend on time [indrek.io]
>> Java Garbage Collectors: When Will G1GC Force CMS Out? [marxsoftware.blogspot.com]
>> Java Finalizer and Java File Input/Output Streams [marxsoftware.blogspot.com]
>> Hibernate Tips: How to call a standard function in a JPQL query [thoughts-on-java.org]
>> Hibernate Tips by Thorben Janssen [petrikainulainen.net]
Webinars and presentations:
>> Goodbye PrintGCDetails… and other JDK 9 Changes! [infoq.com]
>> Straggler Free Data Processing in Cloud Dataflow [infoq.com]
Time to upgrade:
>> Maven 3.5.0 Is Out [maven.apache.org]
>> Gradle 3.5 Is Out [docs.gradle.org]
>> Spring Vault 1.0 goes GA [spring.io]
>> Spring Integration 5.0 Milestone 3 Available [spring.io]
>> Log4j 2.8.2 released [mail-archives.apache.org]
>> Spring For Apache Kafka 1.2.0 and 1.1.4 Available [spring.io]
>> IntellIJ IDEA 2017.1.1 Update is Available [jetbrains.com]
2. Technical
>> How to Solve Tough Problems Using Genetic Algorithms [blog.takipi.com]
A quick example of how mimicking nature can help us tackle complex problems.
>> Distributed Cache – Overview [techblog.bozho.net]
A short and practical introduction to distributed caches.
>> Kotlin for front-end developers [frankel.ch]
It turns out you can use Kotlin for front-end development too, assuming you use Kotlin to JavaScript transpiler.
Also worth reading:
>> How do PostgreSQL advisory locks work [vladmihalcea.com]
>> How to get started with CockroachDB [vladmihalcea.com]
>> XFS: Possible Memory Allocation Deadlock in kmem_alloc [codecentric.de]
>> New Features Coming in PostgreSQL 10 [rhaas.blogspot.com]
3. Musings
>> The Polyglot’s Dilemma [daedtech.com]
It’s crucial to be able to use your skills for solving problems and not just being a universal penknife.
Also worth reading:
>> Build the MVP Canvas [martinfowler.com]
>> Robots have not yet stolen our jobs [lemire.me]
>> Lessons learned from writing and publishing a bestseller in 3 Months [thoughts-on-java.org]
>> Always Be Leaving [daedtech.com]
4. Comics
And my favorite Dilberts of the week: