Core Java
-
5 Features in Java 9 that WILL Change How You Develop Software (and 2 That Won’t)
What are the most exciting features that are expected to be released in Java 9? Don’t get distracted by the…
Read More » -
GC tuning in practice
Tuning Garbage Collection is no different from any other performance-tuning activities. Instead of giving in to temptation for tweaking random…
Read More » -
30 Java Programming Tips and Best Practices for Beginners
Java is one of the most popular programming languages – be it Win applications, Web Applications, Mobile, Network, consumer electronic…
Read More » -
Java Micro Frameworks: The New Trend You Can’t Ignore
What are Java micro frameworks and why should you use them? Every language has tradeoffs. With Java, the tradeoff for…
Read More » -
Optional Dependencies
Sometimes a library you are writing may have optional dependencies. E.g. “if apache http client is on the classpath, use…
Read More » -
Netty: Testing encoders/decoders
I’ve been working with Netty a bit recently and having built a pipeline of encoders/decoders as described in this excellent…
Read More » -
How LongAccumulator and DoubleAccumulator classes work?
Two classes new in Java 8 deserve some attention: LongAccumulator and DoubleAccumulator. They are designed to accumulate (more on what…
Read More » -
Exception Translation with ET
Some time ago I wrote a small blog post about exception translation with AspectJ. In this blog post we will…
Read More » -
We’re Taking Bets: This Annotation Will Soon Show up in the JDK
This recent Stack Overflow question by Yahor has intrigued me: How to ensure at Java 8 compile time that a…
Read More »