Java
-
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 » -
Writing a download server. Part V: Throttle download speed
In the age of botnets that you can rent for few hundred bucks and run your very own distributed-denial-of-service attack,…
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 » -
JBoss Fuse 6.2 released – guide how to quickly try it
At the Red Hat summit last week, it was announced that JBoss Fuse 6.2 was released. I want to congratulate…
Read More » -
How does FlexyPool support the Dropwizard Metrics package renaming
Introduction FlexyPool relies heavily on Dropwizard (previously Codahale) Metrics for monitoring the connection pool usage. Being integrated into Dropwizard, the…
Read More » -
The Effect of Co-ordinated Omission – Measure loopback latency using a simple NIO client/server
In this post I demonstrate a number of ideas and techniques: How to write a simple non-blocking NIO client/server The…
Read More » -
Writing a download server. Part IV: Implement HEAD operation (efficiently)
HEAD is an often forgotten HTTP method (verb) that behaves just like GET, but does not return body. You use…
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 »