Core Java
-
JVM options: -client vs -server
Have you ever wonder what is this -client or -server switch when you run your java app? e.g.: javaw.exe -client…
Read More » -
Incorrect Core Java Interview Answers
Overview On the internet, Java interview questions and answers get copied from one web site to another. This can mean…
Read More » -
Java 7: try-with-resources explained
This article examines the use of the try-with-resources statement. This is a try statement that declares one or more resources.…
Read More » -
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 »