Core Java
-
Using Mockito without static imports with Java 8
How to simplify Mockito usage by removing static imports in Java 8 based projects. Rationale Mockito API is based on…
Read More » -
Visualizing Java 9 Module Relationships
As I stated in an earlier post, I’ve been running Eclipse Neon on the Java 9 + Jigsaw builds for…
Read More » -
Throwing an Exception Without Proper Context Is a Bad Habit
I keep repeating the same mistake again and again. So it’s time to stop and make a rule to prevent…
Read More » -
2 decades of Java: A timeline of the notable events
Reference: 2 decades of Java: A timeline of the notable events from our JCG partner Jeshan Babooa at the Java…
Read More » -
A Subtle AutoCloseable Contract Change Between Java 7 and Java 8
A nice feature of the Java 7 try-with-resources statement and the AutoCloseable type that was introduced to work with this…
Read More » -
High-Concurrency HTTP Clients on the JVM
HTTP is probably the most popular application-level protocol and there are many libraries that implement it on top of network…
Read More » -
Project Jigsaw: an incomplete puzzle
Mark Reinhold just recently proposed a delay of Java 9 to buy more time for completing project Jigsaw as the…
Read More » -
The 5 Java logging rules
Logging is a critical factor that should be always kept into account during the software development. When something bad happens…
Read More » -
Which thread executes CompletableFuture’s tasks and callbacks?
CompletableFuture is still a relatively fresh concept, despite being introduced almost two years ago (!) in March 2014 with Java…
Read More »