Java Weekly, Issue 489

Unnamed methods in Java, Hibernate 6 migration, async-profiler, generative AI and jobs, and monoliths are not dinosaurs!

Scoped Values in Java 20

Scoped values is a new API in Java 20 that enables developers to store and share immutable data within and across threads. We look at how to use it and how it works.

Java Weekly, Issue 488

Pattern matching and records patterns for Java 21, generational ZGC, Spring transactions, JSON views, low latency queues, and naming!

Check if the First Letter of a String Is a Number

This tutorial explains different ways to check if the first character of a string is a number in Java. It covers using charAt(), Character.isDigit(), Pattern class, and matches() method. It also demonstrates how to use Guava’s CharMatcher utility class to accomplish the same objective.

Java Weekly, Issue 487

Java 20, adaptive GC for Quarkus, JFR event streaming, Java threading primitives, maintainable software, and HTTP stats codes!

@StandardException Annotation in Lombok

This article introduces the @StandardException annotation in Java’s Lombok library that generates constructors for exception classes, avoiding writing duplicate code.

Java Weekly, Issue 486

Another preview of Foreign Functions, Jakarta REST, Scala 3 annotations, Postgres power features, and Scalable Slack!

Generating Time Based UUIDs

Java has a built in UUID generator. We compare this to some other solutions which can be more secure or performant.

Java Weekly, Issue 485

Virtual threads in Java 21, Java profilers, a new build system for Java, auto-explain for Postgres, and Generative AI!

Java Weekly, Issue 484

Increased GC throughput, writing a profiler from scratch, faster JVM startup, Java 20, and large language models!

Java Weekly, Issue 483

Migrating to Hibernate 6, lots of new releases and sending billions of messages per minute, over TCP/IP. A good week 🙂