Functors in Java and beyond GAE, GWT and other 3 letter acronyms
Mar 29

For a couple of weeks now, the Google Web Toolkit 1.5 milestone 1 was available for download (announcement here). This completes the set of Java language features added to Java 5 by adding support for enums (much better than my workaround enum), generics and for-each loops. GWT itself even uses generics for the asynchronous calls, so that the AsyncCallback interface now accepts a type parameter which is used later for the onSuccess callback method.

I think that the beautiful part of it all is that for those of us who are already used to the new syntax features, this new release makes GWT development feel even smoother than before.

A word of warning though: from my experience it seems that the milestone doesn’t work well under Mac OS X with the new developers’ preview of Java 6. If you are in this category, you’ll have to rollback your version to the supplied Java 5 implementation.

Other posts of interest

One Response to “Enums, Generics and for-each loops in GWT 1.5”

  1. Enums & GWT Says:

    […] GWT 1.5, Java enums are supported and can be used […]

Leave a Reply

Chaotic Java is Digg proof thanks to caching by WP Super Cache!