Articles


Written by Per Minborg

Java: How to Become More Productive with Hazelcast in Less Than 5 MinutesWhat if you want to use a Hazelcast In-Memory Data Grid (IMDG) to speed up your database applications,
Read Article
Written by Per Minborg

Java Stream: Part 2, Is a Count Always a Count?In my previous article on the subject, we learned that JDK 8’s stream()::count takes longer time to execute the more elements
Read Article
Written by Per Minborg

Java Stream: Is a Count Always a Count?It might appear obvious that counting the elements in a Stream takes longer time the more elements there are in the Stream. But
Read Article
Written by Per Minborg

Java 12: Mapping with Switch ExpressionsIn this article, we will be looking at the new Java 12 feature “Switch Expressions” and how it can be used in conjunction with the
Read Article
Written by Per Minborg

Who’s Been Naughty, Who’s Been Nice? Santa Gives You Java 11 Advice!Ever wondered how Santa can deliver holiday gifts to all kids around the world? There are 2 billionkids, each
Read Article
Written by Per Minborg

Java: Aggregate Data Off-HeapExplore how to create off-heap aggregations with a minimum of garbage collect impact andmaximum memory utilization.Creating large aggregations using Java Map, List and Object normally creates a
Read Article
Written by Per Minborg

Java 11: JOIN Tables, Get Java StreamsEver wondered how you could turn joined database tables into a Java Stream? Read this short article and find out how it is done
Read Article
Written by Per Minborg

Shortest Code and Lowest LatencyWho can write the shortest Java code with the lowest latency, and what tools are used?At Oracle Code One two weeks ago, I promoted a code challenge
Read Article
Written by Per Minborg

Java streams with just one element sometimes create unnecessary overhead in your applications. Learn how to use SingletonStream objects and gain over tenfold performance for some of these kinds of
Read Article
Written by Per Minborg

Blow up Your JUnit5 Tests with PermutationsWriting JUnit tests can be a tedious and boring process. Learn how you can improve your tests classes using permutations in combination with TestFactory
Read Article
Written by Per Minborg

Java: GraalVM Database Stream PerformanceGraalVM is the new kid on the JVM block. It is an open-source Virtual Machine that is able to run many programming languages, such as Java,
Read Article
Written by Per Minborg

Debugging Java Streams with IntelliJStreams are very powerful and can capture the gist of your intended functionality in just a few lines. But, just as smooth as they are when
Read Article