GWT: Difference between revisions
| Line 8: | Line 8: | ||
===Development Environment=== | ===Development Environment=== | ||
The same as [[GAE#Development_Environment|Google Application Engine Environment]]. | The same as [[GAE#Development_Environment|Google Application Engine Environment]]. | ||
===Development Process=== | |||
====Run/Debug Project==== | |||
*''Project Context Menu -> Run As -> Web Application'' or | |||
*''Project Context Menu -> Run As -> Run Configuration -> Web Application -> <Projectname>'' | |||
*Copy URL from Development Console and paste in browser | |||
Revision as of 22:19, 17 January 2010
Overview
Google Web Toolkit (GWT) is a development toolkit for building and optimizing complex browser-based applications. Its goal is to enable productive development of high-performance web applications without the developer having to be an expert in browser quirks, XMLHttpRequest, and JavaScript. The GWT SDK provides a set of core Java APIs and Widgets. These allow you to write AJAX applications in Java and then compile the source to highly optimized JavaScript that runs across all browsers, including mobile browsers for Android and the iPhone.
You can debug AJAX applications in your favorite IDE just like you would a desktop application, and in your favorite browser just like you would if you were coding JavaScript. The GWT developer plugin spans the gap between Java bytecode in the debugger and the browser's JavaScript. Thanks to the GWT developer plugin, there's no compiling of code to JavaScript to view it in the browser. You can use the same edit-refresh-view cycle you're used to with JavaScript, while at the same time inspect variables, set breakpoints, and utilize all the other debugger tools available to you with Java. And because GWT's development mode is now in the browser itself, you can use tools like Firebug and Inspector as you code in Java.
Development
Development Environment
The same as Google Application Engine Environment.
Development Process
Run/Debug Project
- Project Context Menu -> Run As -> Web Application or
- Project Context Menu -> Run As -> Run Configuration -> Web Application -> <Projectname>
- Copy URL from Development Console and paste in browser