Geertjan's Blog

  • December 10, 2007

Hello Google Web Toolkit (Part 1)

Geertjan Wielenga
Product Manager
I've been reading "Google Web Toolkit: GWT Java AJAX Programming" by Prabhakar Chaganti. It is a very good book, very practical, perfect for my first introduction to GWT. Did you know that NetBeans IDE has a very advanced plugin that provides a lot of support for this framework? I didn't, until today. As a result, there's a new tutorial that gets you started, as well as a plugin in the Plugin Portal. The plugin provides the sample that you get at the end of the tutorial. The GWT NetBeans Plugin, which provides the wizards and other code generators, is, as explained in the tutorial, available in the Plugin Manager.

To summarize, here are the links:

  • Introduction to the Google Web Toolkit Framework. A complete tutorial, introducing you to GWT and showing you the various tools provided by the GWT NetBeans Plugin. The tutorial closely follows chapter 2 of the abovementioned book.

  • GWT Starter Kit. A sample that illustrates GWT in action; the result of following the above tutorial. Use it for troubleshooting if/when things go wrong in the tutorial. Or use it as the basis of a more complex application. Take careful note of how to set up the sample, as explained on the page above.

I like how GWT takes care of cross-browser compatibility. Plus, it's pretty interesting how you can apply a stylesheet to a user interface component in Java. And seeing AJAX in action, as a result of one's own coding, is cool. I also like how one can program purely in Java and how GWT converts the Java code to HTML.

Join the discussion

Comments ( 2 )
  • Brian Boyle Thursday, December 13, 2007

    GWT doesnt convert Java to HTML. It compiles the java source code to javascript.

  • Mark Thursday, December 13, 2007

    Yeah, right, because when you convert java to html, since html doesn't have variables, there's kind of a problem there..... :P

Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.