GWT (Google Web Toolkit)
This framework has been around long enough but it is not still mentioned as one of the most used frameworks. It does bring some useful features nevertheless. Some developers have been using it for specific actions such UI components because it can be executed in the browser.
Let me introduce you to this framework as succinct as possible.
What is GWT?
Google Web Toolkit (GWT) is a framework obviously created by Google to create rich internet applications in Java. It is a development toolkit which enables developer to develop internet or web application. GWT insists on reusable approaches to common web-app tasks such as bookmarking, UI abstraction, cross-browser portability.
- Developers do not need to be expert at browser incompatibilities as GWT handles through different binding.
- GWT is a single code base for client and server.
- it has chosen Java with which development becomes more effective as it provides code navigation, refactoring.
- its event bus allows many updates in client-side application by placing event on the event bus.
- It allows different Java tools to integrate with it such as hibernate through Gilead.
Components of GWT
- JRE emulation library: GWT includes a library that follows the Java runtime library i.e. java.lang, java.math, java.io, java.sql, java.util etc.
- GWT Web UI class library: For creating a widget GWT consists of set of interface and classes.
Reasons to use GWT
- Performance Gain: In GWT with each new release of the framework developer would be able to get all new features for free. Old files gain new features by just re-compiling such as accessibility support in GWT 1.5.
- Debugging: We can debug GWT apps just like in Java application, using IDE’s Debugger (debugging can be less of hustle).
- UI Binder: It allows you to design and customize your widgets in an easy and less complex way using XML, HTML, and Java.
- GWT takes a strong OO(Object Oriented) approach to Software Architecture.
GWT applications provide two modes:
- Development Mode: It provides the facility to debug Java code of the application directly with your Java debugger.
Have I convinced you to at least take a look at this framework? If so, take a deep dive into it here: http://www.gwtproject.org/gettingstarted.html