Monday, December 22, 2008

Another GWT Powered Web Site

It seems that these question always comes up on Google-Web-Toolkit group :
  • Who is using GWT?
  • Is GWT ready for prime time?
  • Why would anyone use GWT when they can use language X and toolkit Y?
  • Does Google even use GWT for their web pages?

I have been using GWT in a 24x7x365 day production environment for over two years now and I can tell you that GWT is ready to deliver on the promise of easy and reliable Ajax web development.

As for the question of 'who is using GWT?' I would like to share some information from the guys over at

Their site uses GWT and the GWT incubator project. I spoke with one of their developers and he was nice enough to share some details of their experience with GWT, what GWT widgets they are using, and their overall opinion on the Google Web Toolkit. Please see the details below:

SendMeHome was developed over the course of four months. We chose GWT to create SendMeHome as it allowed us to code in a familiar language (Java), provided a wide array of widgets, and could deliver the type of end user experience we wanted to provide.

Although the GWT compiler is quite intelligent and removes any unused functions and libraries at compile-time we wanted to keep SendMeHome as small as possible as some of our users may be accessing the site on a dial-up connection. To do this we consciously tried to only use widgets in the gwt jar file, these include:

  • Text Box / Password Text Box / Text Area / Rich Text Area
  • Radio Buttons and CheckBoxes
  • File Upload
  • Tree
  • iFrame
  • Toggle and Push Buttons
  • Grids and FlexTables
  • Just about every panel available, including the Tab, Decorator, Disclosure and Popup Panels

We initially broke our own rule when we discovered the Glass Panel from the incubator. We used it to create a “Lightbox Effect” for our login and error messages. However, we really began using Google’s other API’s when we developed our Stories feature. Stories allows you to track where a physical item travels to and lets you collect stories from the people it meets. To enhance Stories we integrated with Google Maps and YouTube and the process was stunningly simple. We now host all of our videos on YouTube and our users never have to visit or even have a YouTube account.

The only complaint we’ve had with GWT is that browsers cannot remember a user’s email and password easily. Otherwise it was been an absolute joy to work with and we are surprised that there aren’t more GWT apps out there!

Sunday, December 21, 2008

Eight Queens Puzzle Solution GWT style

I have deployed a very 'rough' GWT application, you can check it out here.  This is an Eight Queens Puzzle solution using GWT.  Hosting is with Mochahost using Tomcat.  Technically there is no reason to host this application with a Tomcat instance, but I thought it would be fun to take the same Java code and let Tomcat run the Eight Queens solution on the server and then let GWT compile the Java code to Javascript and run it on your client browser.

With a fast processor and Google Chrome I don't see why someone out there cannot beat the calculation time for the puzzle on their browser!  The bulk of the time on the browser is spent building the chess boards and populating the queens onto the board.  The Eight Queens Puzzle solution just takes a few seconds, or in the case of Crome miliseconds.

Lots more to come including:
  • Source code
  • Make the web page look better

Some other ideas I had:
  • Capture user agent information and store calculation times based on browser type and OS
  • Add a selection box so the user can select their processor speed and save this data with the solution time.
  • Build a report showing data based on cpu speed, browser type, bowser version, and OS
For more information on how to setup GWT with Tomcat hosting using Mochahost please see my previous post on GWT hosting.

Please leave me any feedback here.  Thanks!

Tuesday, December 2, 2008

Calling all GWT web sites!

I would love to hear from anyone currently using GWT for a web site or anyone that is in the process or using GWT for a new web site. Please post comments here with your site address and description. If you really feel nice you can also add in all the other libraries or technologies that you incorporated in building your GWT powered site. BTW - my favorite GWT combination is GWT 1.5 + GWT Incubator + Eclipse + Apache Tomcat 5.5


Sunday, October 19, 2008

Friday, September 5, 2008

GWT Designer 5.1 to support Google Web Toolkit Version 1.5

I have not used the GWT designer to develop GWT applications but it is good to see that they have updated this tool to work with GWT version 1.5. For more information on the latest verions of GWT Designer click here.

Wednesday, September 3, 2008

GWT web apps tutorial

Google Chrome and GWT

After installing Google Chrome web browser today I tried out a couple of GWT applications that I have created using GWT 1.5. So far so good. I noticed quickly that my GWT apps were using the Safari version of the GWT code. Performance of GWT in Google Chrome was great. I need to do some more testing to be sure that my GWT apps are working as expected with Google Chrome.

Saturday, August 30, 2008

Make great looking GWT projects by using the Ext GWT Framework

Now that GWT version 1.5 is available for download, using the Ext GWT rich internet application framework for GWT is now possible. GXT is designed to support GWT 1.5 forward. From my experience using GXT in your projects does increase compile time for your GWT project, so be aware of that moving forward. I have started plaing around with GXT. So far the dialogue boxes are very handy, they are asyncronus unlike the dialogue boxes found in javascript so you have much more flexability in your applications. Also the progress bars are a very nice touch when you have GWT applications that require some extended processing time.

Google Web Toolkit Version 1.5 is now officially released

Great news for GWT users. GWT version 1.5.2 is now here! Time to upgrade all those older versions of GWT to the new 1.5 code. I have upgraded a couple of my project from 1.4 to 1.5.1 with little problem.

Thursday, August 14, 2008

GWT 1.5 RC2 available for download

GWT 1.5 RC2 is now available for download. I have converted a couple of existing GWT 1.4 applications that I have over to 1.5 RC1 so the switch to RC2 should be very quick. Overall I am very happy with GWT 1.5 releases from a quality perspective.

Friday, April 11, 2008

Sunday, April 6, 2008

GWT-Ext Widget Library 2.0.3 Released

I have used GWT-ext in some of my GWT projects in the past. With the release of 2.0.3 I am really impressed with the product. Some of the things you should checkout in the Showcase Explorer are the User Extensions Showcase, Charts Showcase, and the Tab Panels.
GWT-Ext Widget Library

Wednesday, April 2, 2008

gchart - Google Code

gchart version 2.0 is quite impressive. No browser plug-ins required and it is a 100% pure GWT java library. Supports pie, line, area charts, etc.
gchart - Google Code

Friday, March 7, 2008

GWT 1.5 Milestone 1 now available for download

I know I have been waiting for some time for a first look at version 1.5 of GWT. Milestone 1 is available, see the link below.
GWT 1.5 Milestone 1 now available for download - Google Web Toolkit | Google Groups

Sunday, January 13, 2008

GWT Article - onGWT - Tracking News on GWT

I recently did a Google search to see if anyone had attempted to create a GWT application and then use it within a Google Gadget. The GWT Article below was a good starting point. I tried it myself using the Google Gadget Editor. After compiling some simple GWT code and uploading it to my site I was able to make it work as described below!
GWT Article - onGWT - Tracking News on GWT