May 01

Time for some refreshing the memory with a Java language feature probably few use, and maybe for a good reason. Suppose you’re running code on elements of an array up until a certain element is found. When your code finds that element, it stops the iteration. Therefore, your code might look like the following:


for (int i = 0; i < array.length && condition(array[i]); i++) {
  // your code here
}

Or, if you’d like to use the new foreach feature, like this:
Continue reading »

Apr 21

For those of you who don’t know what OpenID is, get to know it now. This post is going to be about how to use OpenID authentication in your GWT applications.

First, a reminder of what OpenID is:

OpenID is a free and easy way to use a single digital identity across the Internet.

Continue reading »

Apr 17

Earlier this month, Google announced and launched as a preview release a service called Google App Engine. I think that by all means, this service looks great, as it scales your application automatically when demand increases, is fault-tolerant by clustering your application in a crazy scheme of active-active servers, and has a distributed data storage for saving all your data (limited to 500MB per application for the free preview account.)
Continue reading »

Chaotic Java is Digg proof thanks to caching by WP Super Cache!