Core Java
-

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 » -

Java Concurrency Tutorial – CountDownLatch
Some concurrency utilities in Java naturally get more attention than others just because they serve general purpose problems instead of…
Read More » -

Java Concurrency Tutorial – Blocking Queues
As discussed in Part 3, the thread pools introduced in Java 1.5 provided core support that was quickly a favourite…
Read More »



