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 » -
jqGrid, REST, AJAX and Spring MVC Integration
More than two years back I wrote an article on how two implement elegant CRUD in Struts2. Actually I had…
Read More » -
Hibernate autocommit commands force MySQL in excessive disk I/O
Dear All, I am sure many of you use Hibernate and MySQL, I use it here and there myself. Generally…
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 » -
OSGi Using Maven with Equinox
I have struggled to understand what OSGi really means for a long time. It has been around since a very…
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 »