Download NetBeans!

20071210 Monday December 10, 2007

Hello Google Web Toolkit (Part 1)

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.

Dec 10 2007, 05:31:15 PM PST Permalink

Trackback URL: http://blogs.sun.com/geertjan/entry/hello_google_web_toolkit
Comments:

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

Posted by Brian Boyle on December 13, 2007 at 04:07 PM PST #

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

Posted by Mark on December 13, 2007 at 04:23 PM PST #

Post a Comment:

Name:
E-Mail:
URL:

Your Comment:

HTML Syntax: NOT allowed