Java
-
Tomcat’s Graceful Shutdown with Daemons and Shutdown Hooks
My last couple of blogs have talked about long polling and Spring’s DeferredResult technique and to demonstrate these concepts I’ve…
Read More » -
Fine-Grained Concurrency with the Guava Striped Class
This post is going to cover how to use the Striped class from Guava to achieve finer-grained concurrency. The ConcurrentHashMap…
Read More » -
How To Write Your Own Java / Scala Debugger
With this post we’ll explore how Java / Scala debuggers are written and work. Native debuggers such WinDbg for Windows…
Read More » -
My Favorite Books for Advanced Java Developers
The idea for my last blog post (my ten favorite online resources for advanced Java developers), was inspired by the…
Read More » -
How to kill Java with a Regular Expression
We recently stumbled upon a phenomen we absolutely weren’t aware of: You can kill any Java IDE and also any…
Read More » -
How to Speed Up Apache Xalan’s XPath Processor by Factor 10x
There has been a bit of an awkward bug in Apache Xalan for a while now, and that bug is…
Read More » -
Six Java features to stay away from
I have spent countless hours troubleshooting different applications. Via the experience I can draw a conclusion about several Java SE…
Read More » -
Java Reflection Tutorial
In this tutorial, I mainly write some examples to introduce what Java reflection can do. Hopefully, it can give you…
Read More » -
Simplicity vs. Robustness – Demonstrated On Lock File Handling
Today we will discuss a conflict between the design values of keeping things simple, stupid (KISS) and robustness, between underdesign…
Read More »