mv SUNW JAVA

August 24, 2007

So, according to Jonathan Schwartz (who should know), Sun has decided to change its stock ticker symbol from SUNW to JAVA.

The comments on that blog post are mostly in the huh? category, and I tend too agree…like the one that says this is sillier than if Apple were to change its ticker to IPOD.

I’m not sure if JAVA is a good choice as a ticker symbol. MSWY would have sounded better to me. May the Schwartz be With You.


Java gems: Throwable.initCause()

May 21, 2007

Gem might be a bit of an overstatement, but as Jukka shows, initCause() can save your day, or at least your stack trace.


Java one-liner: XML text escapes

May 15, 2007

It never occured to me before today but

str.replaceAll("&","&amp;").replaceAll("<","&lt;").replaceAll(">","&gt;");

is good enough for quick and dirty escaping of XML text.

And escaping it manually to write it here is also fun ;-)


JRuby is close to running Ruby on Rails

March 28, 2006

According to the JRuby site, their 0.8.3 release is almost to the point of having Ruby on Rails and RubyGems working.

Something to stay tuned to…


Java 5 for Mac OSX

October 12, 2005

Via Pier: Apple have just made their J2SE 5.0 Release 3 Developer Preview 2 available on their Apple Developer Connection website.

I haven’t tried it yet, and I hope it installs on Panther which I’m still running due to the Checkpoint VPN client which still not running under Tiger (and Checkpoint have not replied to my request for information about what to expect when).


Uncatched Exception

September 29, 2005

I think an “uncatched exception” deserves three bug reports: one for the
exception, one for not catching it, and one for abuse of the English
language.

Michael Kay
http://www.saxonica.com/

From the XSL-list, via <XSLT:Blog/>.


javadocs.org

May 13, 2004

All of Sun’s javadocs are now available online from a central place, and can be easily searched using URLs like http://javadocs.org/socket. Empty result sets are redirected to Google, how’s that for a useful web service?

Via Cedric Beust who’s also got a useful firefox link trick. There’s also a comment with a link to useful Mozilla searchlets on his page.