Volta and GWT continues……

Lets start with the GWT features…

GWT user interface classes are similar to those in existing UI frameworks such as Swing and SWT(Standard Widget Toolkit) except that the widgets are rendered using dynamically-created HTML rather than pixel-oriented graphics.

GWT applications construct user interfaces using widgets that are contained within panels. Examples of widgets include Button, TextBox, and Tree.

These widgets work the same way across all the browser (cross-browser ability), due to this there is no need to write separate functionality for each of the browsers.Custom made widgets can also be developed along with the basic set provided by the toolkit.

The addition of widgets , the events etc are pretty similar to coding in Java.

Visual styles can be applied to widgets using Cascading Style Sheets (CSS).

for more details about different widget refer to Google Developer Guide

In production environment, the code is compiled to JavaScript.But at development time it runs in the Java virtual machine. That means when the code performs actions like handling a mouse event, we get a full-featured Java debugging, with exceptions and the advanced debugging features of IDEs like Eclipse.

Cross-Browser compatibility,GWT applications automatically support IE, Firefox, Mozilla, Safari, and Opera with no browser detection or special-casing within your code in most cases.

GWT’s direct integration with JUnit lets you unit test both in a debugger and in a browser.

Completely Open Source,All of the code for GWT is available under the Apache 2.0 license.

Benefits of GWT in building the AJAX applications

  • You can use all of your favorite Java development tools (Eclipse, IntelliJ, JProfiler, JUnit) for AJAX development.
  • Static type checking in the Java language boosts productivity while reducing errors.
  • Common JavaScript errors (typos, type mismatches) are easily caught at compile time rather than by users at runtime.
  • Code prompting/completion is widely available.
  • Automated Java refactoring is pretty snazzy these days.
  • Java-based OO designs are easier to communicate and understand, thus making your AJAX code base more comprehensible with less documentation.

Volta features in the next blog.. till then bye..

have a great day ahead 🙂

– Deepak


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: