Core Java
-
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 » -
Using the final keyword on method parameters
After some own confusion which specific meaning final declared method parameters have this blog entry will try to clarify this.…
Read More » -
Java Concurrency with ReadWriteLock
Writing multithreaded java applications is not a piece of cake. Extra care must be taken because bad synchronization can bring…
Read More » -
Java Enum puzzler
Let’s suppose we have the following code: enum Case { CASE_ONE, CASE_TWO, CASE_THREE; private static final int counter; private int…
Read More » -
Lucene Overview Part One: Creating the Index
Introduction I’ve recently been working with the open source search engine Lucene. I’m no expert, but since I have just…
Read More »