inder's blog
Installing a Ubuntu Hardy Heron Java Development Environment on a USB flash drive
USB flash drives are really cheap these days, so I decided to create a portable environment that contains all my favorite applications, as well as Java IDEs and utilities. This is attractive since I can boot up any computer with this thumb drive, and have the same environment to work with. Besides, it is kind of cool.
Teaching Maven2 to use multiple source directories
For project Gson, which is a library to convert Java objects to JSON and vice-versa, we use Maven2. We are also using Javacc to generate a JSON parser, but we had to modify the generated source-code to hide the generated classes.
NetBeans module for Java SDK for Google Checkout APIs released
Pet peeve with the Java 1.5 enhanced for loop
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.
Using Google Checkout SDK with Glassfish
Google Checkout is a Google service that enables a faster, safer and more convenient way to shop online.
JavaOne sessions on Java EE 5 puzzlers and Google Checkout
Moved on...
This blog is on a personal note. After being at Sun for 10 years, I have now left Sun and joined Google. I am currently working on Google Checkout, Google's solution to make online shopping faster, safer and convenient. If you have ideas on how to achieve these goals better, share them as comments to this blog.
What is the difference between Java Application Platform SDK and Java EE SDK
Announcing the release of Java Application Platform SDK Update 3 Preview
As the tech lead for the project, I am happy to announce the availability of the new version, Update 3 Preview, of the Java Application Platform SDK. This version includes the following enhancements:
Can GroupThink result in poor decision making in strong open-source communities?
I recently came across a great article on GroupThink of Irving Janis. GroupThink is a behavior pattern that results in inferior decision making by a group of smart people when the cohesiveness of the group is too high.





