Core Java
-
Java 7: Closing NIO.2 file channels without loosing data
Closing an asynchronous file channel can be very difficult. If you submitted I/O tasks to the asynchronous channel you want…
Read More » -
NetBeans 7.1: Create a Custom Hint
I have talked about some of my favorite NetBeans hints in the posts Seven NetBeans Hints for Modernizing Java Code…
Read More » -
What’s Cooking in Java 8 – Project Jigsaw
What is Project Jigsaw: Project Jigsaw is the project to make the java compiler module aware. For years java API…
Read More » -
JUnit and Hamcrest: Improving On assertEquals
In my blog post Are Static Imports Becoming Increasingly Accepted in Java?, I discussed the increasing use of static imports…
Read More » -
Secure Encryption in Java
Last time I wrote about cryptography, I outlined Apache Shiro crypto API and shown how to use its two symmetric…
Read More » -
Threading stories: ThreadLocal in web applications
This week I spend reasonable time to eliminate all our ThreadLocal variables in our web applications. The reason was that…
Read More » -
Runtime vs Compile-Time Classpath
This should really be a simple distinction, but I’ve been answering a slew of similar questions on Stackoverflow, and often…
Read More » -
HPROF – Memory leak analysis tutorial
This article will provide you with a tutorial on how you can analyze a JVM memory leak problem by generating…
Read More » -
Java Thread CPU analysis on Windows
This article will provide you with a tutorial on how you can quickly pinpoint the Java Thread contributors to a…
Read More »