Java 17 provides a large number of improvements to the generation of random numbers. We explore the new API and compare it with the original random number generators.
Also find me here:
Baeldung Author
Daniel Strmecki
Daniel Strmečki is a Java and AEM Solution Architect with a strong focus on quality, modularity, and reusability. Throughout his career, he gained experience in software development, solution design, project, and people management. Daniel has an open, ambitious, stubborn, and perfectionist personality. He likes sports, modern technology, technical challenges, motivated colleagues, and well-defined processes.
Here's what I've written (so far):
Baeldung on Java
- All
- Core Java (8)
- NoSQL (3)
- Web Services (2)
- Spring Data (2)
- Java List (2)
- JVM (2)
- HTTP Client-Side (2)
- Testing (1)
- Spring Web (1)
- Spring Boot (1)
- REST (1)
- Networking (1)
- Maven (1)
- Logging (1)
- Java Streams (1)
- Java Numbers (1)
- Java Map (1)
- Java Concurrency (1)
- Java Collections (1)
- Java (1)
Solving the Hide Utility Class Public Constructor Sonar Warning
Filed under Core Java
We may produce utility classes with static methods in Java and then receive a warning from Sonar about the implicit public constructor. We look at how to handle this error and some alternative implementations for static modules.
Logging Queries with Spring Data Cassandra
Filed under Logging, Spring Data
Explore the logging of queries and statements when using Apache Cassandra with Spring Boot.
Using Test Containers With Spring Data Cassandra
We can test our Spring Data integration with Cassandra by using Testcontainers. This starts a temporary instance of Cassandra to use during our tests. We investigate how to do this and configure spring during the test.
Saving Date Values in Spring Data Cassandra
Filed under NoSQL, Spring Data
Learn how to use Spring Data Cassandra to save date values and map them to Cassandra data types.
Pattern Matching for Switch
Filed under Core Java
This article is a deep dive into pattern matching for switch statements, a preview feature in Java 17.
Tiered Compilation in JVM
Filed under JVM
The JVM’s just in time compiler employs multiple techniques to optimize our software as it runs. We explore the various tiers and how they affect startup performance and continued optimization.
The settings.xml File in Maven
Filed under Maven
We can configure maven via the settings.xml file. We look at some common use cases and configuration options.
When to Use a Parallel Stream in Java
Filed under Java Streams
In this tutorial, we’ll explore the differences between sequential and parallel streams using Stream Api.