SocialTwist Tell-a-Friend
  • GWT & AJAX
  • AJAX make it possible to change fragment of page with out refreshing page with the help of java script object XMLHttpRequest. AJAX is good for content driven website. There are number of AJAX framework available in market
  • Why Google Web Tool Kit(GWT):
  • With GWT, you write your AJAX front-end in the Java programming language which GWT then cross-compiles into optimized JavaScript that automatically works across all major browsers. During development, you can iterate quickly in the same "edit - refesh - view" cycle you're accustomed to with JavaScript, with the added benefit of being able to debug and step through your Java code line by line. When you're ready to deploy, GWT compiles your Java source code into optimized, standalone JavaScript files. Easily build one widget for an existing web page or an entire application using Google Web Toolkit
  • Great Benefits
  • Communicate with your server through really simple RPC
  • GWT supports an open-ended set of transfer protocols such as JSON and XML, but GWT RPC makes all-Java communications particularly easy and efficient. GWT RPC will automatically serialize the arguments, invoke the proper method on the server, then deserialize the return value for your client code.
  • Optimize the JavaScript script downloads based on user profile
  • Deferred binding is a feature of GWT that generates many versions of your compiled code, only one of which needs to be loaded by a particular client during bootstrapping at runtime.
  • Use other JavaScript libraries and native JavaScript code
  • If GWT's class library doesn't meet your needs, you can mix handwritten JavaScript in your Java source code using JavaScript Native Interface (JSNI).
  • Localize applications efficiently
  • Easily create efficient internationalized applications and libraries using GWT's powerful deferred binding techniques.
  • Be productive with your choice of development tools
  • Because GWT uses Java, you can use all of your favorite Java development tools for your AJAX development. This allows a web developer to harness the productivity gains of automated Java refactoring and code prompting/completion.
  • Test your code with JUnit
  • GWT's direct integration with JUnit lets you unit test both in a debugger and in a browser...and you can even unit test asynchronous RPCs.
  • Extend or contribute - Google Web Toolkit is open source software
  • All of the code for GWT is available under the Apache 2.0 license.
  • Learn more