Delivering faster, richer GWT applications to your users

Posted by Fred Sauer, Developer Advocate - Tuesday, September 22, 2009 at 8:25:00 PM

GWT has always been about providing a better experience for your users. Today GWT received a helping hand with the release of an early version of Google Chrome Frame, an open source plug-in that brings HTML5, a faster JavaScript engine and other open web technologies to Internet Explorer.

You're probably wondering how your users can take advantage of Google Chrome Frame. Simply add the following tag to the <head> section of your application's HTML page, just like you would for any other web application:
  <meta equiv="X-UA-Compatible" content="chrome=1">

As you probably know GWT automatically builds a different version of your application for each major browser. It uses a special selection script to launch the version which has been specifically optimized for the user's browser and personal settings.

Now you might be wondering how your existing apps will behave when your IE users with Google Chrome Frame installed visit your site. Will GWT try to launch the IE version or the WebKit version of your application?

GWT's selection script detects your browser's rendering engine so that it can launch a version of your app which is optimized for your browser. When the Google Chrome Frame plug-in is installed and the meta tag is present the WebKit rendering engine is used instead of the IE rendering engine. Since your app's existing selection script already recognizes WebKit based browsers it will know to launch a version of your app which has been optimized for Google Chrome Frame. If you don't include the meta tag or if your users don't have Google Chrome Frame installed the GWT selection script will still know to launch the IE version of your app.

In other words, your existing GWT apps are already setup to work with Google Chrome Frame. All you have to do is add the meta tag to your HTML pages.

If you like'd to encourage your IE users to install Google Chrome Frame or would simply like to learn more you can checkout the Google Chrome Frame developer docs.

2 comments:

Pacap said...

Faster but with memory leaks when GWT is using RPC calls...

buzel said...

Hi,

I implemented a Gwt web application which has mysql database connection. I want to move it to a web hosting and I want to serve it. How can I do it? If it is possible, I want to use a free web hosting. For that reason, probably I will have to use Apache Tomcat Server in the host machine. So, how can I utilize my application to use Apache Tomcat? How can I find a free or cheap hosting which suported mysql and gwt applicatiton? and How can I do that?