Core Java
-
Consuming java.util.concurrent.BlockingQueue as rx.Observable
Classical producer-consumer pattern is relatively simple in Java since we have java.util.concurrent.BlockingQueue. To avoid busy waiting and error-prone manual locking…
Read More » -
Java 9 Early Access: A Hands-on Session with JShell – The Java REPL
How can you start using one of the coolest features of Java 9 starting today? Last weekend I finally got…
Read More » -
Code Challenge “Vrolijke Framboos” Postmortem
Tuesday we had our second ever “Vrolijke Framboos” (Dutch for Happy Raspberry) Java code challenge at JDriven and it was…
Read More » -
Casting In Java 8 (And Beyond?)
Casting an instance to a type reeks of bad design. Still, there are situations where there is no other choice.…
Read More » -
Measuring Allocations Programmatically
I picked up this tip from the The Java Specialists’ Newsletter written by Heinz Kabutz. (For all Java developers wanting to…
Read More » -
Windows Registry Cleanup after JDK 9 Early Release Installation
In my last blog post, I demonstrated resolution of issues surrounding the Oracle Java symbolic links (C:\ProgramData\Oracle\Java\javapath\ directory on Windows-based…
Read More » -
Oracle Java on Windows
I recently downloaded an early access release of JDK 9 (build 68) for my Windows 7-based laptop. Because this is…
Read More » -
More compact Mockito with Java 8, lambda expressions and Mockito-Java8 add-ons
Mockito-Java8 is a set of Mockito add-ons leveraging Java 8 and lambda expressions to make mocking with Mockito even more…
Read More » -
What’s Even Harder Than Dates and Timezones? Dates and Timezones in SQL / JDBC!
There was an interesting discussion recently on the jOOQ mailing list about jOOQ’s current lack of out-of-the-box support for TIMESTAMP…
Read More »