8. Why Use Google Web Toolkit Google APIs & reusable UI Components. GWT comes equipped with useful libraries: * Built-in UI components serve as cross-browser building blocks for your app * RPC helps with client-server interaction * JavaScript Native Interface (JSNI) simplifies integrating GWT code with existing JavaScript code
9. Using Google Web Toolkit projectCreator -eclipse [projectName] -out [dir] 1. Download Google Web Toolkit (we are using 1.5 RC1 for this Demo) 3. Create a Project using projectCreator (if you are using Eclipse, if not omit this step) 4. Generate GWT files and directories using applicationCreator (you can omit the -eclipse if you are using a different IDE) applicationCreator -eclipse [projectName] [packages.client.urClass] -out [dir] 2. Set Environment variables under User > PATH > add the directory of GWT * for using other IDE just make a directory and use it for the applicationCreator to which it will generate the files inside this directory
10. GWT File Structures Under the client folder : DemoGWT.java DemoGWT.gwt.xml Under the public folder : DemoGWT.html DemoGWT.css *optional for styling Under the root project : DemoGWT-compile DemoGWT-shell DemoGWT.launch