Download - Introduction to GWT
![Page 1: Introduction to GWT](https://reader034.vdocuments.site/reader034/viewer/2022042518/54b440ae4a7959e4668b456d/html5/thumbnails/1.jpg)
Introduction to GWTPetteri Hietavirta
![Page 2: Introduction to GWT](https://reader034.vdocuments.site/reader034/viewer/2022042518/54b440ae4a7959e4668b456d/html5/thumbnails/2.jpg)
What is all about?
1. Write some Java code2. Compile3. AJAX web application!
![Page 3: Introduction to GWT](https://reader034.vdocuments.site/reader034/viewer/2022042518/54b440ae4a7959e4668b456d/html5/thumbnails/3.jpg)
Couple benefits
It is Java code for you• to write• to debug
![Page 4: Introduction to GWT](https://reader034.vdocuments.site/reader034/viewer/2022042518/54b440ae4a7959e4668b456d/html5/thumbnails/4.jpg)
...Couple benefits...
Compiled for all main browsers
= less effort, more optimized code
![Page 5: Introduction to GWT](https://reader034.vdocuments.site/reader034/viewer/2022042518/54b440ae4a7959e4668b456d/html5/thumbnails/5.jpg)
...Couple benefits
Plenty of support and examples
Active community
![Page 6: Introduction to GWT](https://reader034.vdocuments.site/reader034/viewer/2022042518/54b440ae4a7959e4668b456d/html5/thumbnails/6.jpg)
Features• API• Ready made widgets (but not limited to)• RPC (JSON goes as well)• History support• Debugger• JUnit• i18n• JSNI• Apache Licence v2
![Page 7: Introduction to GWT](https://reader034.vdocuments.site/reader034/viewer/2022042518/54b440ae4a7959e4668b456d/html5/thumbnails/7.jpg)
GWT 2.0 newfeatures
• Code splitting• UI binder• Client bundles• Layout panels• Improved compilation• Speed Tracer
![Page 8: Introduction to GWT](https://reader034.vdocuments.site/reader034/viewer/2022042518/54b440ae4a7959e4668b456d/html5/thumbnails/8.jpg)
How to getstarted?
1. Install GWT Eclipse plug-in2. Create a project
![Page 9: Introduction to GWT](https://reader034.vdocuments.site/reader034/viewer/2022042518/54b440ae4a7959e4668b456d/html5/thumbnails/9.jpg)
Example 1
Super SimpleAPI, widgets
![Page 10: Introduction to GWT](https://reader034.vdocuments.site/reader034/viewer/2022042518/54b440ae4a7959e4668b456d/html5/thumbnails/10.jpg)
Example 2
Somewhat functionalAPI, Widgets, Debugger
![Page 11: Introduction to GWT](https://reader034.vdocuments.site/reader034/viewer/2022042518/54b440ae4a7959e4668b456d/html5/thumbnails/11.jpg)
Example 3
Client-ServerAPI, Widgets, RPC
![Page 12: Introduction to GWT](https://reader034.vdocuments.site/reader034/viewer/2022042518/54b440ae4a7959e4668b456d/html5/thumbnails/12.jpg)
Example 4
CC7API, Widgets, JSON, i18n, JSNI, Ext GWT, and some
others
![Page 13: Introduction to GWT](https://reader034.vdocuments.site/reader034/viewer/2022042518/54b440ae4a7959e4668b456d/html5/thumbnails/13.jpg)
Some issues withGWT
• CSS still not trouble freebetween browsers
• GWT widgets are primitive insome cases
• Client side Java is only a subset• Compilation time
![Page 14: Introduction to GWT](https://reader034.vdocuments.site/reader034/viewer/2022042518/54b440ae4a7959e4668b456d/html5/thumbnails/14.jpg)
Questions?Comments and critic also welcome