Transcript Gwt
Google Web Toolkit
- Gufran Mohammed
What is Google Web Toolkit ?
Google
Web Toolkit (GWT) is an open source Java software
development framework that makes writing AJAX applications
easy for developers who don't speak browser scripts as a second
language.
With
GWT, you can develop and debug AJAX applications in the
Java language.
Write
your front end in the Java programming language,and the
GWT compiler converts your Java classes to browser-compliant
Java Script and HTML.
GWT development cycle
Develop a front end application in Java Programming language using
any Java IDE and GWT libraries
GWT's Java-to-JavaScript compiler converts your application into a
set of JavaScript and HTML files that can be served with any web
server.
Confirm that the application works in each browser
Why GWT?
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.
Java-based OO designs are easier to communicate and understand,
thus making your AJAX code base more comprehensible with less
documentation.
Debugging and Deploying GWT Applications
GWT applications can be run in 2 modes:
Hosted
Web
Mode
Mode
Google Web Toolkit Architecture
GWT has four major components:
Java-to-Javascript compiler
"Hosted" web browser
Two Java class libraries (JRE Emulation library and GWT web UI
class library)
Google Web Toolkit Features
Browser compatible (IE, Firefox, Mozilla, Safari, and Opera)
Internationalization
Browser history management
Dynamic, reusable UI components
Really simple RPC
Real debugging
Completely Open Source
Interoperability