Skip to main content

Blog Archive for inder during May 2007

I love the enhanced for loop construct introduced in Java 1.5. It makes the code look clean, and saves us from dealing with iterators or array indices. But since it is essentially syntactic sugar, it does create iterators behind the scenes as necessary. This can result in insidious bugs since if the passed collection or the array is null, your for loop will throw a NullPointerException. Here is...
Google Checkout is a Google service that enables a faster, safer and more convenient way to shop online. Online merchants can implement Google checkout on their websites, and then they do not need to worry about managing credit-cards information and privacy of user accounts. Besides, Google provides free credit-card processing until the end of 2007 and will later provide credit for adwords...
JavaOne 2007 is right around the corner, and I am participating in two sessions there. The first one is based on my work at my previous employer, Sun Microsystems. This session will present tips and tricks on using Java EE 5, and is patterned after the popular Java Puzzler sessions by Josh Bloch. My other session is related to using Google Checkout API in Java applications. In this session, we...