RIA’s war
August 2nd, 2007
Isn’t this me-too RIA buzz a little bit naive? A long time ago Java “invented” applets - a great idea for RIA that has gracefully failed. Flash has taken the seat. MS’s silverlight is not getting developers anywhere for too many reasons. JavaFX requires the latest Java JVM installed on the user’s computer. I believe in the power of the Sun, but the UI is not their strongest side. Flex is the only way to go if you want to have a good-looking RIA application. Almost everybody has it installed and it is a really quick download if you don’t have it. Great look, nice cooperation with J2EE technology.
Fake it!
July 13th, 2007
Sometimes you need test data to... test some class or jsp page. Here is the java class that can be of help to someone.
JAVA:
-
import org.apache.commons.lang.RandomStringUtils;
-
import org.apache.commons.lang.StringUtils;
-
import org.apache.commons.lang.math.RandomUtils;
-
-
public class Fake {
-
-
+ RandomStringUtils.randomNumeric(3);
-
streetName = StringUtils.capitalise(streetName);
-
str += " ";
-
str += streetName;
-
return str;
-
}
-
-
streetName = StringUtils.capitalise(streetName);
-
return streetName;
-
}
-
-
int l = RandomUtils.nextInt(maxLength);
-
return RandomStringUtils.randomAlphabetic(maxLength + 3).toLowerCase();
-
}
-
-
for (int i = 0; i <numberOfWords; i++) {
-
sb.append(get(16));
-
sb.append(" ");
-
}
-
return StringUtils.capitalise(sb.toString());
-
}
-
-
StringBuilder sb = new StringBuilder(get(4));
-
sb.append("@");
-
sb.append(get(4));
-
sb.append(".");
-
sb.append(RandomStringUtils.randomAlphabetic(3).toLowerCase());
-
return sb.toString();
-
-
}
-
-
public static int getId() {
-
return RandomUtils.nextInt(99999);
-
}
-
-
return RandomStringUtils.randomNumeric(12);
-
}
-
-
return RandomStringUtils.randomNumeric(7);
-
}
-
-
return RandomStringUtils.randomAlphabetic(3).toUpperCase();
-
}
-
}
Adwords Mistakes
May 20th, 2007Once in a while I come across funny mistakes and errors in Google Adwords. Now it's high time to start collecting them:

And when you click the ad:

I am just wondering who's paying for the mistake ![]()
Entries (RSS)
Comments (RSS)