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.
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.
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 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 […]
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 […]