Core Java
-
A way to read properties with variable interpolation
Recently, I tried to define and read a global properties in an application server. The benefit of such property configured…
Read More » -
How to Use Java 8 Streams to Swiftly Replace Elements in a List
Imagine you have a list of items: List<String> books = Arrays.asList( "The Holy Cow: The Bovine Testament", "True Hip Hop",…
Read More » -
Java Performance Tuning: Getting the Most Out of Your Garbage Collector
What’s going on under the hood of the JVM and how Garbage Collection affects Java performance? The performance tuning world…
Read More » -
Don’t be Fooled by Generics and Backwards-Compatibility. Use Generic Generic Types
I’ve recently had a very interesting discussion with Sebastian Gruber from Ergon, a very early jOOQ customer, whom we’re in…
Read More » -
JAXB Is Doing It Wrong; Try Xembly
JAXB is a 10-year-old Java technology that allows us to convert a Java object into an XML document (marshalling) and…
Read More » -
Dismantling invokedynamic
Many Java developers regarded the JDK’s version seven release as somewhat a disappointment. On the surface, merely a few language…
Read More » -
ChronicleMap – Java Architecture with Off Heap Memory
My last post was written a couple of weeks ago and after some valid feedback I’d like to clarify a…
Read More » -
While You Were Sleeping: The Top New Java 8 Additions
What are some of the most interesting additions to Java 8 since it was launched? Java 8 recently celebrated its…
Read More » -
How to exclude libraries from all dependencies in Gradle
I am using Spring boot. Spring boot by default comes with logback. I wanted to use log4j (for whatever reasons..)…
Read More »