Core Java
-
Concurrency optimization – Reduce lock granularity
Performance is very important in high load multi-threaded applications. Developers must be aware of concurrency issues in order to achieve…
Read More » -
Monitoring OpenJDK from the CLI
Currently I do quite a bit of work in and around the Java virtual machine (JVM), most of the time…
Read More » -
Programming antipatterns
Did you ever do a code review where you recorded an extremely high amount of WTF/m? And did you…
Read More » -
Sending emails with Java
I start writing this post as a simple “how to send an email” using Java, but later I found I…
Read More » -
Java Twitter client with Twitter4j
Got inspired by my friend, who built his own Twitter client for his company’s client. So, I tried to build…
Read More » -
Use java.util.prefs.Preferences instead of java.util.Properties
A typical installer for an application needs to ask the user a couple of options and some of these are…
Read More » -
Java Micro-Benchmarking: How to write correct benchmarks
Several months ago, I wrote an article to compare the performances of short indexes for loops. I asked myself of…
Read More » -
Logging exceptions root cause first
The 0.9.30 release of Logback logging library brings new awesome feature: logging stack traces starting from root (innermost) exception rather…
Read More » -
Database schema navigation in Java
An important part of jOOQ is jooq-meta, the database schema navigation module. This is used by the code generator to…
Read More »