News

In this article, we'll delve into one of the most impactful ways to improve your Java code: pattern matching. Working with complex data structures, especially abstract layers and complex class ...
Introduced with the Java 17 release, pattern matching enhances the instanceof operator so Java developers can better check and object's type and extract its components, and more efficiently deal with ...
PathProxy is a design pattern for persisting complex relationships without cluttering ... object relationships in a database using the Java Persistence API, but what’s a good way to store ...
One might wonder why this more complex scoping approach was ... But this is just the start of the good things that pattern matching will bring to Java. Records, sealed types, and deconstruction ...
We discuss some of the most common design patterns in Java and how they can help you solve common coding issues. Learn more. A design pattern is a well-established and documented solution to a ...
For a more common use case in enterprise applications, see my discussion about using the Command pattern to apply discounts in an enterprise shopping cart. Rafael del Nero is a Java Champion and ...