Wednesday, December 21, 2005

Gmaps Pedometer

Gmaps Pedometer

This rocks!

Apparently, it's a 1km walk to school, and just 700m from the park and ride stop in town to my office.

Monday, December 19, 2005

StrutsMerryChristmas - Struts Wiki

StrutsMerryChristmas - Struts Wiki

Merry Strutsing Christmas to you all.

Thursday, December 15, 2005

Java Forums - Date Comparison

Java Forums - Date Comparison

Very funny!

Tuesday, December 13, 2005

JSP sucks arse

Is it me or is JSP the most god-awful, sucky language of all time? The following piece of struts taglib rocks:

<html:select property="cpuManufacturerId">
<html:options collection="cpuManufacturers" property="id" labelproperty="manufacturer"/>

(equivalent to a for/in loop over all cpuManufacturers to create an HTML Select box) but everything else about the language sucks arse. Is velocity or anything else better or just sucky in a different way?

Oh for a minimal Java implementation of PHP that can talk to Servlets...

Thursday, December 01, 2005

iBATIS v. Hibernate

Man, Hibernate has been making my head ache. I just can't get my brain around the whole of it. I started writing my own DAO out of frustration (which isn't too hard/complicated) so what's the big deal with Hibernate? I only want to map SQL to Java and back.

However, while reading through Jakarta Struts Cookbook I came across iBATIS - what a piece of cake.

If you're looking for a DAO, and are wondering WTF Hibernate is all about, try looking at iBATIS (now an apache project) instead. It is simple. Apparenly, it's not a full blown ORM, but I don't want a full blown ORM. Who does?