Where was this class loaded from?!
There are many ways to figure out where a class is being loaded from. Naveen uses the -verbose flag of the JVM to figure out where a class is being loaded from. If you are using Pramati Server, then y...

Moved out of blogger
When I first setup this blog, I chose blogger because it would let me publish (using sftp) to a server at my alma. This way neither was my data locked into any blogging service nor did I have to insta...

Chasing the cause for performance degradation
Spoiler: The last three pictures speak more than the thousand odd words that precede them Day before: Too many issues resizing photos in Java. Takes too much memory, takes too long, runs out of mem on...

Yahoo! messenger archive file format
The first step to get my Yahoo! messenger (YMessenger) conversations into windows desktop search is to decode the conversations stored in YMessenger archive files. If you enable message archiving, YMe...

Addicted to search
For as long as I can remember, I have been too lazy to use: my fingers to type and my brain to remember things. When I used to work on linux, I used to rely heavily on the locate command to search and...

Neal Gafter’s proposal for constructor type inference
Neal gafter has proposed that java language include Constructor Type Inference in order to reduce verbosity. So what was Map<String,List<Thing>> map = new HashMap<String,List<T...

Why do catch clauses need to be ordered?
Looking at question #15 on JDJs Secrets Of The Masters: Core Java Job Interview Questions (Secrets of the masters???!! Whhoaaah!!), I was reminded of the question Vinod once asked me: “Why do ca...

Backward compatibility of specified, under-specified and un-specified features/API
Backward compatibility is a challenge for everyone from the guy writing the kernel to guy building the application. Raymond Chen has written a lot of anecdotes on compatibility issues in windows. (See...

Enum and other Java 5 tricks …
Deepak has finally started blogging at Deep into Java. He has been sharing some neat tricks like Bootstrapping static fields within enums. Thanks for the tips buddy … look forward to more of the...

Got Phished :(
I booted my laptop early this morning to get my daily dose of Google alerts. Navigating through the alerts I ended up at: The Museum of Modern Betas and browsing through its entries I chanced upon Goo...