Java for young developers

Are you teaching someone Java? Do you know anyone who is taking an introductory training in Java? Do you want your 5 year old kid to start on Java? If yes, then you can help them further by introducing to free interactive IDEs made just for this purpose.

Writing custom XPath rules for PMD

PMD comes with a set of handy rules, which more than often are sufficient for any project. However, in real life projects you also need some custom rules to be created. This article talks about writing custom PMD rules using XPath.

Migrating a Roller blog to WordPress

Ok I admit that I never made a formal announcement about it, but this blog has now moved to its new home at http://nullpointer.debashish.com. If you are reading this, you are at the right URL. This blog used to be happily hosted at the excellent free service provided by the JRoller people. Roller is one […]

Piping problem

I recently had a task wherein I was required to call few Perl routines from inside my Java class. You must be saying, what’s the big deal? Runtime.exec is what one needs. You are dead right, this comes to rescue when ones needs to call a non-Java process or an executable. With this, I was […]

Generics Preview

Generics is the most profound of┬áchanges envisaged in Tiger. Greg Travis has this nice preview on it. In summary Generics offer the following advantages as per Greg: Better compile-time type checking: With generics, the type casting is implicit in the instantiation you are using, and it’s done at compile-time. By using a particular instantiation, you […]

The chunked problem

One of the J2ME applications I had been involved in emerged with a big problem when tested for boundary conditions. When the client was sending less than 2048 bytes, the server was able to handle it correctly. The content-length header was being set in the client correctly and was available at the server. The J2ME […]