Ques. New features in GWT 2

- I am unknown about GWT2. I worked on GWT1.5.
Please let me know what are the new features came in GWT2 over GWT1.5 .

Posted on Jul 31, 2014 by Abhijit
Ans. On Dec 08, 2009 Google launched Google Web Toolkit 2.0 with Speed Tracer.

Version 2.0 of GWT offers a number of new features follows:

In-Browser Development Mode (formerly known as Out Of Process Hosted Mode, OOPHM): prior to version 2.0, hosted mode used to embed a modified browser to allow running the bytecode version of the application during development. With version 2.0, hosted mode, renamed \"development mode\", allows using any (supported) browser to view the page being debugged, through the use of a browser plugin. The plugin communicates with the development mode shell using TCP/IP, which allows cross platform debugging (for example, debugging in Internet Explorer on Windows from a development mode shell running on a Linux machine).
Code splitting: with the developer providing \"split points\" in the source code, the GWT compiler will be able to split the JavaScript code into several small chunks instead of one big download. This will lead to reduced application startup time as the size of the initial download is decreased.
Declarative User Interface: using an XML format, the new feature known as UiBinder allows the creation of user interfaces through declaration rather than code. This allows clean separation of UI construction and behavior implementation.

Resource bundling: the ClientBundle interface will allow resources of any nature (images, CSS, text, binary) to be bundled together and transferred in one download, resulting in fewer round-trips to the server and hence lower application latency.

Since the new development mode removed most platform-specific code, the new version will be distributed as a unique archive, instead of one per supported platform as was the case with previous versions.
Posted on Aug 01, 2014 by Shelly

Enter your Answer

Name
Email Address
Answer