Tenthline.blog()

Thoughts on web development and content management

Another Crazy JSR: And This Time They Aren’t Kidding!

Thursday, May 22nd, 2008 by Enrico

You might remember my post about JSR-666 from April, where I asked whether the funny proposals to extend Java (for example, by adding a yoda keyword) were just a joke or a thinly veiled statement about the dangers of trying to shoehorn features into Java. So imagine my surprise when I saw another horrific [...]

A Sun Video Codec?

Tuesday, April 15th, 2008 by Enrico

Michael and I recently read this article on a relatively new project at Sun: “a royalty-free and open video codec and media system”.
There is much debate among members of the W3C about what codec should be the standard for embedded video on the Internet. The W3C has insisted that any video codec standard for [...]

JSR-666: Elaborate Joke or Profound Statement?

Monday, March 31st, 2008 by Enrico

We just recently caught wind of some proposed “extensions” to Java under JSR-666. One of them in particular had us all laughing and that was the yoda keyword. Here’s example code showing how this new keyword would be used:
yoda (UnsupportedEncodingException) {
String s = new String(byteArray, “UTF-8″);
}
I didn’t quite get [...]

Going with the Flow: Spring Web Flow

Friday, February 22nd, 2008 by Enrico

We recently worked on a short J2EE project using the Spring MVC framework. One of the models was particularly complicated, with multi-valued attributes that needed to be added, edited, and removed within the one form. The controller logic was starting to look like a complete mess of if-else statements as we tried to [...]