1. Spring and Java
>> MergingSortedSpliterator [javaspecialists.eu]
Writing our very own Spliterator to convert List<Stream<T>> to a Stream<T> with sorted elements. Cool stuff!
>> Record Serialization in Practice [inside.java]
Java records in serialization frameworks – an overview of framework support and common recipes on working with records.
>> Announcing Preview of Microsoft Build of OpenJDK [microsoft.com]
Microsoft introduces its own OpenJDK distribution – a no-cost and LTS distribution based on OpenJDK 11.
Also worth reading:
- >> API Rate Limiting with Spring Cloud Gateway [spring.io]
- >> How to retrieve DTOs from your Envers Audit Logs [thorben-janssen.com]
- >> Weakly Consistent Iteration [javaspecialists.eu]
- >> Ki is a New, More Flexible Kotlin Interactive Shell [infoq.com]
- >> Changing a field's type in recent JDKs [blog.frankel.ch]
- >> Tackling Java cold startup times on AWS Lambda with GraalVM [arnoldgalovics.com]
- >> A categorized list of all Java and JVM features since JDK 8 to 16 [advancedweb.hu]
Webinars and presentations:
- >> Project Skara: Migrating OpenJDK to Git and GitHub (Erik Duveblad and Robin Westberg) [youtube.com]
- >> Java Language Futures: Spring 2021 [youtube.com]
- >> Ask the Java Architects (Mark Reinhold, Brian Goetz, Mikael Vidstedt, Ron Pressler) [youtube.com]
- >> A Bootiful Podcast: Swagger-SpringMVC creator Marty Pitt on SpringFox, Swagger, Vyne and Taxi lang, and much more [spring.io]
Time to upgrade:
- >> IntelliJ IDEA 2021.1 is Out! [blog.jetbrains.com]
- >> Spring Data 2021.0.0-RC1 and 2020.0.7 released [spring.io]
- >> Quarkus 1.13 released – DevServices, Kubernetes Service Binding, OpenTelemetry [quarkus.io]
2. Technical & Musings
>> PodSecurityPolicy Deprecation: Past, Present, and Future [kubernetes.io]
K8S is deprecating its admission controller in 1.21 – what it is, what it does, why deprecation, and alternatives!
>> Bitemporal History [martinfowler.com]
Capturing two dimensions of time – maintaining the history of events while being able to modify them individually. An interesting read for the weekend.
Also worth reading:
- >> Lessons learned after losing the Terraform state file [tryingthings.com]
- >> Supreme Court Rules Google's Use of Java API Was Fair Use [infoq.com]
- >> Troubleshoot Boot and Networking Issues with New EC2 Serial Console [aws.amazon.com]
And my favorite Dilberts of the week:
>> Wally Not Remotely Working [dilbert.com]
>> Title Promotion [dilbert.com]
>> Dibert Prefers The Pandemic [dilbert.com]
4. Pick of the Week
A whole lot (400+) of new, open-source vulnerabilities were discovered in Maven packages last year.
Have a look at the Snyk cheat sheet and go over some core pieces of advice and how to avoid Java serialization, configure your XML parsers to prevent XXE injection, and quite a bit more:
>> 10 Java Security Best Practices [snyk.io]
The article was written by two Java Champions, Brian Vermeer and Jim Manico, it's a quick, to-the-point read and requires no email.