Stream Gatherers, GC improvements, exceptions in switch, Quarkus virtual threads, lesser-known apache projects, and Software Engineering. A good week.
Search Results for: jdk
Find Files by Extension in Specified Directory in Java
Learn to use core Java and external libraries to search for files in a directory (including sub-directories) that match a specific extension.
Reactor WebFlux vs Virtual Threads
Compare the Java 19’s virtual threads to Project Reactor’s Webflux.
Java Weekly, Issue 520
Scoped values, auto-closable HttpClient, virtual threads on Helidon 4, DAO or not DAO, and Apache Pinot!
String’s Maximum Length in Java
Explore thе constraints and considеrations rеlatеd to thе maximum lеngth of strings in Java.
Inter-Process Communication Methods in Java
A quick and practical guide to inter-process communication in Java.
Java Weekly, Issue 519
Region pinning for G1, Spring meets CDS, class-file API, new features for Java 22, and tech predictions for 2024. Good stuff.
Catch Common Mistakes with Error Prone Library in Java
Explore the functionalities of the Error Prone library, from installation to customization, and the benefits it offers in enhancing code quality and robustness.
Java Weekly, Issue 518
Unnamed patterns, Spring boot 3.2, generational ZGC, custom JFR events, index selectively, and chopping a monolith
How to Increment a Map Value in Java
Explore several ways to increment the value of a Map entry.
Passing JVM Options from Gradle bootRun
Explore different ways to pass JVM options to the bootRun command.
Java Weekly, Issue 517
Last few days of Black Friday. Cascading deletes with Hibernate, Spring 6.1, String Templates, Ktor, error handling, and test data generation. A good week 🙂
Context-Specific Deserialization Filters in Java 17
Explore Java’s latest enhancement, Context-Specific Deserialization Filter (JEP 415), in action.
Difference Between String isEmpty() and isBlank()
Delve into the distinctions between isEmpty() and isBlank() when working with Java Strings.
Java Weekly, Issue 516
Table partitioning with Spring, pattern matching, project loom, generational GC, log4shell retro, and Open Telemetry collector!
Why Is sun.misc.Unsafe.park Actually Unsafe?
Learn why Unsafe.park() is actually unsafe and get an insight into the interworking of the park() and unpark(Thread) methods.
Convert File to Byte Array in Java
Learn how to convert a file into a byte array in Java.
A Guide to OpenRewrite
Learn the basics of the OpenRewrite, a library to for managing Maven dependencies.
Optional as a Record Parameter in Java
Learn about using Optional as a record parameter and understand why it’s a bad practice.
Get First Date of Current Month in Java
Learn how to obtain the first date of the current month in Java using JDK classes and third-party libraries like Joda Time.