1. Spring and Java
>> Talking to Postgres Through Java 16 Unix-Domain Socket Channels [morling.dev]
Practical Unix-domain socket support in Java – an efficient and secure approach to communicate with Postgres!
>> Enhanced Pseudo-Random Number Generators for JDK [openjdk.java.net]
Meet JEP-356: proposal for new interfaces and implementations for pseudo-random number generators (PRNGs)!
>> GraalVM 21.0 Introduces a JVM Written in Java [infoq.com]
Project Espresso or Java on Truffle – a new way to run Java code on a JVM written in Java itself!
Also worth reading:
- >> Extending the Automatic Vectorization Capabilities of the C2 Compiler [inside.java]
- >> The state of JVM desktop frameworks: TornadoFX [blog.frankel.ch]
- >> The Spring *Utils Classes [spring.io]
- >> Testing Spring Boot Applications With REST Assured [rieckpil.de]
- >> Troubleshooting Spring Data JPA Specification and Criteria queries impact on Hibernate's QueryPlanCache [tech.asimio.net]
- >> Tutorial: Spock Part 1 – Getting started [blog.jetbrains.com]
- >> A lightweight SQL data mapper with the JdbcTemplate [spring.io]
- >> @PolymorphicSignature [javaspecialists.eu]
Webinars and presentations:
- >> “How to contribute to OpenJDK” with Stuart Marks and Jesper Wilhelmsson [inside.java]
- >> A Bootiful Podcast: Hypertrace Java Agent creator Pavol Loffay [spring.io]
Time to upgrade:
- >> JMC 8.0.0 Early-Access Release [jdk.java.net]
- >> Spring Integration AWS 2.3.5.RELEASE & 2.4.0, and Spring Cloud Stream Kinesis Binder 2.0.4.RELEASE & 2.1.0 Available [spring.io]
- >> Spring Cloud 2020.0.1 (aka Ilford) Is Available [spring.io]
2. Technical
>> PullRequest [martinfowler.com]
Should we even use pull requests? a critical take on when pull requests can be useful and when they can't!
Also worth reading:
- >> Building a Deterministic Random Bit Generator [musigma.blog]
- >> Offline Algorithms in Low-Frequency Trading [queue.acm.org]
- >> RefinementCodeReview [martinfowler.com]
- >> Introducing the O(1) Cryptography Project [musigma.blog]
3. Musings
>> Growth Engineering at Netflix — Automated Imagery Generation [netflixtechblog.medium.com]
The story of Netflix's homepage – the invaluable automated asset generation!
Also worth reading:
- >> Do Some Puzzles Sometimes [info.michael-simons.eu]
- >> APIOps – Automated processes for even better APIs [blog.codecentric.de]
4. Comics
And my favorite Dilberts of the week:
>> Wally's Success [dilbert.com]
>> Cake For Ted [dilbert.com]
>> General Incompetence [dilbert.com]
5. Pick of the Week
This week, we're looking at Cassandra – the battle-tested database that's the backbone of sites with incredible amounts of traffic, like Facebook and Netflix:
For a long time, the “getting started” story in Cassandra was a bit slow, as there was simply no direct API support. That's been changing recently on the Astra Cloud:
We now have several ways to interact with Cassandra beyond the standard CQL – direct data access via REST, a powerful document API working with schemaless JSON, as well as GraphQL APIs.
Definitely have a look at Astra with their free-forever 5 Gig tier, which is pretty useful to actually use the system and understand what it can do.
The post Java Weekly, Issue 371 first appeared on Baeldung.