Core Java
-

Java Secret: Using an enum to build a State machine
Overview The enum in Java is more powerful than many other languages which can lead to surprising uses. In this…
Read More » -

Low GC in Java: Use primitives instead of wrappers
Overview There are two good reason to use primitives instead of wrappers where possible. Clarity. By using a primitive, you…
Read More » -

Java Pretty Good Privacy (PGP)
Public-Key Encryption This post talks about PGP or “Pretty Good Privacy.” PGP is a hybrid implementation of conventional cryptography as…
Read More » -

Java Lambda Syntax Alternatives
The discussion on the lambda-dev mailing list has started to address the issue of what the Java language syntax for…
Read More » -

Grow Up Java! Proposing Java Desktop Edition
No, this is not another ‘Java is Dead’ rant. Java is very much alive and kicking. It is one of…
Read More » -

Java Compression
In a recent project, we had to do something I had personally never really had to look at; Compression. We…
Read More » -

Reasons Why Solaris Is a Great Java Development Platform
Some days ago I posted “The Death of OpenSolaris: Choosing an OS for a Java Developer” in which I stated…
Read More » -

How does JVM handle locks
As we are talking about the latest version of Sun Hotspot Java Virtual Machine 1.6 there’re the following three types…
Read More » -

How to Avoid ConcurrentModificationException when using an Iterator
Java Collection classes are fail-fast which means that if the Collection will be changed while some thread is traversing over…
Read More »

