Explore a few ways to compare version strings in Java through various libraries
Search Results for: split string
Why Are Local Variables Thread-Safe in Java
Learn why local variables are thread-safe in Java.
Inject Arrays and Lists From Spring Properties Files
Learn various ways to use @Value and SpEL to inject property values as arrays or lists in Spring
Using Kafka MockProducer
Learn how to use Kafka’s MockProducer to verify common producer operations
Using Kafka MockConsumer
Explore the MockConsumer, one of Kafka’s Consumer implementations
CQRS and Event Sourcing in Java
Explore the basic concepts of the CQRS and Event Sourcing design patterns.
Spring Cloud Gateway WebFilter Factories
Learn about Spring Cloud Gateway’s built-in WebFilter factories and how to use them in advanced scenarios
Single Responsibility Principle in Java
A quick and practical guide to the Single Responsibility Principle in Java
Should We Close a Java Stream?
Ever wondered if it’s important to close a Java 8 Stream?
Introduction to Apache Beam
Get started with Apache Beam and this simple word counter
Testing Spring Boot @ConfigurationProperties
Learn how to test configuration classes in Spring Boot that rely on the @ConfigurationProperties annotation.
DDD Bounded Contexts and Java Modules
Learn how to leverage Java 9 Modules while defining explicit boundaries for bounded contexts while creating a simple store application
Java Scanner
A quick and practical set of examples for using the core Scanner Class in Java – to work with Strings, Files and user input.
Pre-compile Regex Patterns Into Pattern Objects
Learn the benefits of pre-compile regex pattern and the new methods introduced in Java 8 and 11.
AWS S3 with Java – Reactive Support
Explore the basics of using the reactive extensions available in the AWS SDK V2 library.
How to Print a Binary Tree Diagram
Learn how to print a binary tree diagram.
Spring Optional Path Variables
Explore how to make a path variable optional in different Spring versions.
Parsing Command-Line Parameters with JCommander
JCommander takes on all the complexity of parsing and validating parameters for our command line applications. We explore all of its core features.
Integrating Spring with AWS Kinesis
Learn how to integrate Spring with two AWS libraries for interacting with Kinesis Data Streams
Using a Slash Character in Spring URLs
Learn several ways to deal with URLs containing slash characters in Spring.