Java
-
Overview of implementing Distributed Locks
As we know, locks are generally used to monitor and control access to shared resources by multiple threads at the…
Read More » -
JDK 16: Checking Indexes and Ranges of Longs
In my last post, I described the day period support added with JDK 16 Early Access Build 25. That same…
Read More » -
Static Factories are Great!
Every now and then I jump on classes with multiple constructors or classes that are rigorous to work with. Let…
Read More » -
Spring Web MVC
Spring MVC is a web framework based on the model–view–controller pattern. It is based on the Spring principles and supports…
Read More » -
Day Period Support in JDK 16
JDK 16 Early Access Build 25 (2020/11/18) includes changes for JDK-8247781 (“Day periods support”). As stated in the JDK 16…
Read More » -
Testing Expected Exceptions with JUnit 5
This post shows how to test for expected exceptions using JUnit 5. If you’re still on JUnit 4, please check…
Read More » -
Testing with Hoverfly and Java Part 4: Exact, Glob and Regex Matchers
Previously we used Hoverfly among its state feature. So far our examples have been close to an absolute request match,…
Read More » -
Kafka & Zookeeper for Development: Connecting Brokers to the Ensemble
Previously we created successfully a Zookeeper ensemble, now it’s time to add some Kafka brokers that will connect to the…
Read More » -
Constrast DataWeave and Java mapping operations
Main points: DataWeave 2.0 provides mapping capabilities Java and DataWeave can achieve the same mappings DataWeave mapping operator is less…
Read More »