Since 2003
A brilliant (sic) coalesce of Technology (where the emphasis is on Java), Internet, Blogging, Indic-blogging, current-affairs, politics, entertainment industry and topics that concern India.

Posts tagged "Java"

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...

Sometimes you have to be evil!

Many times the most innocuous aspects of programming create lot of trouble. Take the innocent Properties file. These avatars of Hashtable are collections of key-value pairs, frequently used by applications for their need for external resources and configuration settings. Now pointers such as these tell you that reading the Properties file using java I/O is...

"this" is no good!

Eric Burke has a very sound advice against using “this” in your Java code, an advice against the conventions. Prefixing object field references with “this”, says Eric, clutters up code and may indicate too much complexity. “If you really need to differentiate local variables from object fields, consider prefixing your object fields with “_” or some other...