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.

Comments:

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

Posted by Brian Boyle on December 13, 2007 at 08:07 AM 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 08:23 AM PST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Geertjan Wielenga (@geertjanw) is a Principal Product Manager in the Oracle Developer Tools group living & working in Amsterdam. He is a Java technology enthusiast, evangelist, trainer, speaker, and writer. He blogs here daily.

The focus of this blog is mostly on NetBeans (a development tool primarily for Java programmers), with an occasional reference to NetBeans, and sometimes diverging to topics relating to NetBeans. And then there are days when NetBeans is mentioned, just for a change.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
12
13
14
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today