Core Java
-
Why we shouldn’t use more threads than we need to
Overview There is a common argument that because we have lots of cores, and will have even more in the…
Read More » -
Lambdas for Fluent and Stable APIs
A few weeks ago I wrote an introduction on Java 8 lambdas. In this introduction I explained what a lambda…
Read More » -
Throttling Task Submission with a BlockingExecutor
The JDK’s java.util.concurrent.ThreadPoolExecutor allows you to submit tasks to a thread pool and uses a BlockingQueue to hold submitted tasks.…
Read More » -
Too Many Parameters in Java Methods, Part 8: Tooling
The first seven posts of my series of dealing with too many parameters expected in Java methods focused on alternative…
Read More » -
Announcing EAXY: Making XML easier in Java
XML libraries in Java is a minefield. The amount of code required to manipulate and read XML is staggering, the…
Read More » -
Throttling Task Submission with a BlockingExecutor
The JDK’s java.util.concurrent.ThreadPoolExecutor allows you to submit tasks to a thread pool and uses a BlockingQueue to hold submitted tasks.…
Read More » -
Would you dare to change HashMap implementation?
There are bold engineers working for the Oracle nowadays. I came to this conclusion when trying to nail down a…
Read More » -
Top 10 Lists of Common Java Mistakes (That Makes Top 100!)
Top 10 lists are very popular, fun, and informative to read. But there are so many of them! How to…
Read More » -
Too Many Parameters in Java Methods, Part 7: Mutable State
In this seventh post of my series on addressing the issue of too many parameters in a Java method or…
Read More »