Richard Dallaway Hello! I'm Richard, and I write things down here.

03 Nov 2006

Annotations

Of all the new language features in Java SE 5, annotations were probably the one thing I was nervous about. The benefits are clear for things like the Java Persistence API, and there’s no going back once you’ve used them. For some of the other annotations, I didn’t really see the point. I do now.

I was chatting with Paul the other day about a feature of the language neither of us fully grokked. Here’s the trimmed down example, and it’s perfectly legal Java that compiles and runs just fine…

19 Oct 2006

Symbian Smartphone Show

Keynote at Symbian Smartphone Show

This year I wanted to catch up with…

There were two or three seminars I wouldn’t have minded attending, but they were spread so far apart (in time) that I just couldn’t justify hanging around for so long for the odd 30 minute talk. However, there are some supporting podcasts available.

11 Sep 2006

Google LTAC

4ff9dbc9abbf6-11219784-0-media_httpfarm3static_Jhnwk

Google hosted a Test Automation Conference at their London offices on the 7th and 8th of September. The videos of the presentations are on Google Video, so rather than do a blow-by-blow account of each talk, I thought I’d note down what I saw as the main themes.

A few comments or thoughts that caught my attention: “any standard [W3C, OASIS, etc] without a test set doesn’t exist”; a round of applause for something described as being not XML; don’t write huge chunks of Javascript, instead separate your concerns as you would with other languages; “the interesting thing about objects is the messages between them, not their state”.

18 Aug 2006

Open Source Java ME

The Rich Green video confirmed that Java ME (CLDC and CDC) are being open sourced. I believe the opening of the Standard Edition was well anticipated, but the inclusion of the Micro Edition is great news. The timing is also impressive: roll out by the end of 2006.

Presumably this will ensure Java is included by more handsets and other devices, including as a default on more Linux-based devices. What happens there is probably determined by the license choice. The intriguing possibly is that ME technology could become common place on device other than phones. Although some will shudder at that idea, remembering back to the original diagrams describing “profiles” and “configurations”, it’s what the technology was designed for: a configuration, like CLDC, is a set of classes for a range of devices; a profile, such as MIDP, is the collection of APIs for a vertical market.

01 Aug 2006

Vendor JAM

Try to catch Just a Minute on the radio/internet sometime. It’s a long-running panel game. A player of the game will try to talk on a subject for 60 seconds without the other participants spotting hesitation, deviation or repetition.

I think this could be the magic formula for making vendor presentations at conferences more interesting. A chairman introduces a subject (SOA, web services, RoI, …) and one of the contestants starts taking until… bzzz… an opponent spots one of the three violations. If the challenge is correct, they get points and take on the topic for the remaining time. The winner gets to give out t-shirts, CDs or give closing remarks or something.

13 Jul 2006

NetBeans, Mobility, Mac

The NetBeans mobility pack includes a cute drag-and-drop Java ME application builder. Since day one I’ve been asking: does it run on a Mac yet? Does it run on a Mac yet? Does it run on a Mac yet?…and the answer has been “no”. Running it across the network via X11 or similar, or running inside a Windows emulator, isn’t ideal so I’ve more-or-less avoided NetBeans.

However, blogs from Lukas Hasik and Florian Beer pointed out that you can hack the mobility downloads to make it run on Mac OS X, so I took the plunge with it under NetBeans 5.5 beta with the enterprise pack. And sure, it works:

16 Jun 2006

Nokia N70

N70

It’d been a long time since I’d used a Nokia handset, so I decided to spend a while—pretty much the last 12 months in fact—with a Series 60 Nokia N70. I now need to get this off my chest: I hate this handset, and I just don’t like Series 60.

I’m starting to wonder if Sony Ericsson have re-wired my brain away from the Nokia UI.

I quite liked Series 40, and it’s still highly usable despite often looking dated. And I’ve really tried to get into Series 60, but none of the Smartphone Hacks have helped, and none of the applications (including Lifeblog) and none of the 3G features (like mobile TV) make it worth the pain.

11 May 2006

Jini, JavaSpaces, JXTA

…the holy trinity of cool technologies. Yet also the perennial underachievers.

I worked with Jono on a Jini/JavaSpaces application for a publisher a while back, and I think it was pretty successful. Certainly it worked well enough, and when the corporate compliance and review police dropped in to do a standard check-up they liked what they saw. Since then, though, it seems to be “risky” to look at these technologies, and instead messaging queuing (and now web services) are a safer bet.

06 Apr 2006

JavaUK06

Last month Sun put on a sumptuous mini developer conference in London, called JavaUK06. I went along with the usual crowd and although it wasn’t exactly a cut-down JavaOne, it was a worthwhile day.

Let’s get the bad stuff out of the way first. The initial keynote was out of place for a Java-based show. One wag explained it to me: sitting through it was the cost of admission. Fair enough. Then Craig McClanahan put on a high-density cover-all-bases web framework presentation. He lost the crowd when switching to an IDE to show us code that was too tiny to read and then refused to adjust the font.

10 Mar 2006

Tags

If you’re interested in the growth and use of tagging, or folksonomy generally, take some time to read The Structure of Collaborative Tagging Systems (PDF). The paper discusses what people tag (using data from Del.icio.us), the purpose of tagging (“fundamentally about sensemaking”), some of the problems of tagging (in particular polysemy and synonymy), and compares tagging to taxonomy.

One aspect I found interesting was the dynamics of tagging. In Del.icio.us, individuals users tag URLs how ever they like. When you look at all the tags of any given URL you “might expect that individuals’ varying tag collections and personal preferences, compounded by an ever-increasing number of users, would yield a chaotic pattern of tags”. The paper reports otherwise. A stable pattern quickly emerges, which implies a consensus is formed after as little as 100 tags. The authors suggest imitation and shared knowledge between users is the cause of this. There may be a link here with The Wisdom of Crowds, which is still in my bought-but-not-read pile.

22 Feb 2006

JasperReports, JFreeChart, JExcelAPI

I had some reporting to add to an application last year, and rather than code something from scratch, I decided to dig around for a package to give us something we could grow with—something to give us a framework, that we could use to make more sophisticated reports when the time came for them.

JasperReports looks good: you specify the data going into the report, you declaratively set up the report in XML, and at the last minute you decide the format you want for output: HTML, Excel, PDF. There’s even built-in support for it in WebWork. “Over 1 million” downloads can’t be wrong.

06 Jan 2006

Mobile TV

Vodafone TV

I’ve spent a few weeks watching the Vodafone 3G mobile TV service. It’s a TV-over-IP system, with a fair range of channels, such as MTV, Sky News, CNN, Cartoon Network, Discovery, plus various sports. Here’s what I’ve noticed so far:

In summary, the system works, if you are more-or-less stationary and in good 3G coverage.