Core Java
-
Sending a mail in Java (and Android) with Apache Commons Net SMTP : STARTTLS, SSL
Recently working on an Android experiment, I wanted to send emails using a SMTP server, using authentication and encryption, from…
Read More » -
Java implementation of Optimal String Alignment
For a while, I’ve used the Apache Commons lang StringUtils implementation of Levenshtein distance. It implements a few well known…
Read More » -
What are Reentrant Locks?
In Java 5.0 a new addition was made to enhance the intrinsic locking capabilities, called as Reentrant Lock. Prior to…
Read More » -
How to use ECC with OpenJDK
Everyone who ever tried to use Elliptic Curve Cryptography (ECC) in Java with an OpenJDK was either forced to use…
Read More » -
Top 5 Useful Hidden Eclipse Features
Eclipse is a beast. A device whose mystery is only exceeded by its power. Some would call it a continuum…
Read More » -
Most efficient way to increment a Map value in Java – Only search the key once
This question may be considered too basic, but is frequently asked in the forums. In this post, I will discuss…
Read More » -
How to read CSV files in Java – A case study of Iterator and Decorator
In this post, I will talk about how to read CSV (Comma-separated values) files using Apache Common CSV. From this…
Read More » -
Introduction to Java lambdas
The main theme of Java 8 is lambdas. I have noticed that for many Java programmers lambdas are pretty tough…
Read More » -
Java7 – A look back
I started writing a blog post on what’s new in the upcoming Java8 release, and thought I would start by…
Read More »