GWT at JavaOne
I was really looking forward to the GWT talk at JavaOne (and apparently so were many others, there seemed to be a thousand in the room during the talk). The talk was presented by two of the core GWT team members. They did a super job giving the talk - they were relaxed, were polished in their presentation, used humor, didn't get fazed by AV glitches. They talked a bit about the philosophy behind GWT. They put some stakes in the ground - 'static typing is good, dynamic typing is not so good', lots of sexy widgets not so important as user experience. They want to bring software engineering to web development. They claim (and I agree) that it is hard to engineer a pile of steaming javascript. Java is much better for all its 'abilities' - maintability, adaptability, etc.
They had some good metrics about how users react to load time. If your app takes too long, your users will leave. They have a 300ms goal for a load time of a rich GWT application - and they are working hard always to reduce load time. They do this in a number of ways - they use the browser cache to help of course, they make the code they ship over the wire be very compressible, and they reduce the overall number of http requests (compare that to what is typically done with a traditional ajax app, where there may be many trips to the server just to get all of the javascript). GWT build separage JS bundles for the different browsers, so if you are running in firefox, you don't have any IE specific JS. One really neat optimization they are doing is called 'image bundles'. Apps that have lots of static images can take a long time to load since each image is a separate HTTP request. GWT can bundle all of these images into a single image. So your app only has to do a single HTTP request to get the images. They can then use windowing within this larger image to display the various images. A very clever technique. GWT also includes a timing framework so you can easily instrument your app so you can see how long it takes the app to load.
They showed some demos ... I was a bit disappointed here since they just showed the demos that are available on the GWT site. I was also disappointed that they didn't talk much about where they were going, what new features were on the roadmap.
During the Q/A one audience member asked about how to write a GWT app that could be crawled by search engines like google. The GWT guys knew about this problem and they are indeed working hard on making GWT sites crawlable.
All in all, a good session.
Posted by Jeremy P on May 11, 2007 at 02:31 PM EDT #
Posted by Paul on May 14, 2007 at 06:26 AM EDT #
Posted by Jeremy P on May 14, 2007 at 12:12 PM EDT #