Java Pipelines
Java streams introduced a new way to program for developers. Have a dataset and build a stream to filter, it maps it, and then collect it in the new form.…
Virtual Threads: Revolutionizing Concurrency in JDK 21
In JDK 21, Java introduces a groundbreaking feature that’s poised to redefine how we handle concurrency: virtual threads. Virtual threads promise to simplify concurrent programming, improve application scalability, and unlock…
Not Returning Null
We all have done it, in fact, I’m in the process of changing my APIs over to not do. Returning NULL for a return type. After doing some work with…
Java Development Tips
Java-based servers or applications often have to deal with large amounts of data. Whether the data is from a database, or from a local file, processing this data in an…
Java getter/setter used as Lamda’s
Once again I’m looking into ways to make coding so much easier. I needed to be able to pass in a Class::get and a Class:set as a Lamda in order…
Mastering Spring Boot Testing with JUnit 5, Setup/Teardown, and Mockito: A Comprehensive Guide
JUnit 5, the latest iteration of the popular Java testing framework, provides a powerful arsenal of tools for testing Spring applications. This post dives into how you can leverage JUnit…
Using java.util.stream.Collector
You will find plenty of articles on how to create your own Collector, and calling Streams.collect() with a collector to gather the data into a collection. Learn how to add…