Core Java
-
Using serialization to find dirty fields in an object
Say you are developing a framework to auto-save objects into a database. You need to detect changes made between two…
Read More » -
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 »