Monday, December 19, 2005

Sitting on the Doctype....

Tim Bray talks of dropping the Doctype from XML and I have to concur. For me, is a carrier for cognitive dissonance in XML... contrary to the nature of an XML document, human readable but not human meaningful... But I suspect Mr Bray is right when he says it won't go away.

Saturday, December 17, 2005

Switching to Tiger on Tiger (J2SE 5.0 on OSX 10.4)

The number of times I see someone post "Here's how to use J2SE5.0 as default on Mac OSX 10.4..." and proceed to tell you how to change the JDK symlink for the current JDK....

It's not necessary.... Here's how I do it. Add to your .profile

export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home
export PATH=$JAVA_HOME/bin:$PATH

There we go. JDK set. If you want to set it for webstart and applets as the default, go to /Applications/Utilities/J2SE 5.0 and run Java Preferences, which lets you change the order of use safely (and lets you get at a whole bunch of run time settings)....

There, no messing with sudo, no changing symlinks, no danger when Apple update Java runtimes.

Friday, December 16, 2005

A clean sweep in the toolbox

So, I'm revising my toolbox for 2006. What looks like it's going to be in it? Netbeans 5.0 for an IDE, EJB3 Persistence+Derby/Java DB for storage, Spring+Struts for server framework (I think), Mochikit for Ajaxness... Now, a decent Javascript editor and debugger would be good (Come on Netbeans!), but what else...

Break out the Festivus Pondering (post the airing of grievances)....

Monday, December 05, 2005

What am I up to...

I'm playing with Mochikit to write an Ajaxy application. I'm finding Netbeans jolly nice, but it really needs to get up to speed for Ajax with some Javascript editting support.