SlideShare a Scribd company logo
First steps with GWT
Google I/O Extended 2014 - Friuli Venezia Giulia/Veneto
Giampaolo
@trapo1975
+Giampaolo.Trapasso
www.cosenonjaviste.it
GWT (/ˈɡwɪt/)
I’m a open source development toolkit for
building and optimizing complex browser-
based applications.
Let me introduce myself
My complete name is Google Web Toolkit or 

GWT Web Toolkit if you like
I’m 8 years old..
GWT 1.0 - May 17, 2006
I worked at Google as Java-to-Javascript specialist
but have still good relations
My home is http://www.gwtproject.org/
I speak Java
also Javascript, CSS, HTML
In my circle of friends: all browsers and 100K developers
Seriously..what can you do with GWT?
Google Flights
https://www.google.it/flights/
Google Groups
https://groups.google.com
Blogger
https://www.blogger.com/home
Evernote homepage
https://www.evernote.com/Home.action
Angry Birds for Chrome
https://www.youtube.com/watch?v=F_sbusEUz5w
Quake II GWT Port
https://code.google.com/p/quake2-gwt-port/
Picshare
http://picshare.jooink.com/
and more!
• http://www.devsniper.com/my-selected-gwt-
applications/
• http://gwtreferencelist.appspot.com/
• http://www.quora.com/What-web-applications-use-
Google-Web-Toolkit-(GWT)
Something about GWT from recent reports
Java Tools & Technologies
Landscape for 2014
http://pages.zeroturnaround.com/Java-Tools-Technologies.html
Web Framework in use
The Future of GWT Report 2013
https://vaadin.com/gwt/report-2013
Main GWT components
• Java-to-JavaScript Compiler
• JRE emulation library
• GWT Development Mode
• GWT Web UI class library
PROs
• It uses Java (strong typing)
• Learning curve
• Libraries
• Reuse of server logic
• GWT’s built-in protocol to transfer data between the client and the server
without any additional knowledge of how the data is packaged and sent
(GWT-RPC)
• IDE and development tools support: refactor, debug, code navigation, unit
test
• Handle the browser compatibility and I18N
PROs
• The GWT compiler optimizes the generated code, removes dead code
and even obfuscates the JavaScript
• “Easy” to maintain large project
• JavaScript in the Java source code using the JavaScript Native
Interface (JSNI)
• To summarize: highly responsive web applications with heavy lifting on
the client-side and reduced chattiness with the server-side
• Workoffline, stateless server, high number of users
• Open source and developed by a community
• Works very well with Google App Engine.
CONs
• It uses Java -> ceremony code
• but GWT 3.0 will use Java 8.0
• It uses Java, something front end developers don’t
know
• More code to create UI
• but you can use UIBinder
• Yes, but it’s another abstraction over HTML
CONs
• Long compilation time
• but you can use Dev Mode
• but is going deprecated since depends on browsers/is slow
• but there’s SuperDev Mode
• Too much work even when functionality is simple - include existing JS also
• but GWT is typically used on complex applications
• Quality and number of widget
• but look at GWT Nextgen JsInterop & Web Components Demo: https://
www.youtube.com/watch?v=wFMD1GXR2Tg
Frameworks
• Errai framework: http://erraiframework.org/
• GWTP: GWT-Platform
• SmartGWT (SmartClient)
• Sencha GXT (Ext JS look and feel)
• Vaadin: GWT used as engine but JSF like approach, only server side logic
• Vaadin 7.0 will be a superset of GWT
• Useful link: https://vaadin.com/comparison (also with jQuery, RichFaces an
more)
• GWTMobile
• mgwt
FAQ
• Does GWT use jQuery? How?
• No it doesn't. GWT generates Javascript but GWTQuery exists.
• Is Gmail built on Google Web Toolkit?
• No, it’s a “urban legend”, but Google Sheet is
• Is it possible to integrate AngularJS with GWT ?
• Yes, take a look at https://github.com/cromwellian/angulargwt
• GWT is no more under Google umbrella, is GWT dead?
• No, 2.7 & 3.0 will be released soon (and take a look to https://www.youtube.com/watch?v=bj93jlfYi5c for
the future of GWT)
• Where can I find some examples to try?
• http://www.gwtproject.org/examples.html (look at Showcase!)
• When is GWT appropriate, when is AngularJS appropriate?
• https://groups.google.com/forum/m/#!topic/angular/9P4RD3IbQwk
Talk is cheap, show me the code

More Related Content

PDF
PhpStorm for WordPress
East Bay WordPress Meetup
 
PDF
Real Developer Tools for WordPress by Stefan Didak
East Bay WordPress Meetup
 
ODP
Vagrant and puppet: Deployment made easy
Geronimo Orozco
 
PDF
Polyglot Gradle with Node.js and Play
Evgeny Goldin
 
PPTX
Get along with JHipster
Dmytro Panin
 
PDF
Front-End: O que é e o que faz
Eduardo Rabelo
 
PPTX
Blogging for hackers (english)
Stephen Mariano Cabrera
 
PDF
Lvl.up
swee meng ng
 
PhpStorm for WordPress
East Bay WordPress Meetup
 
Real Developer Tools for WordPress by Stefan Didak
East Bay WordPress Meetup
 
Vagrant and puppet: Deployment made easy
Geronimo Orozco
 
Polyglot Gradle with Node.js and Play
Evgeny Goldin
 
Get along with JHipster
Dmytro Panin
 
Front-End: O que é e o que faz
Eduardo Rabelo
 
Blogging for hackers (english)
Stephen Mariano Cabrera
 
Lvl.up
swee meng ng
 

What's hot (20)

PPTX
JavaScript and Internet Controlled Hardware Prototyping
Jonathan LeBlanc
 
ODP
Xdebug for Beginners
Sean Prunka
 
PDF
GUI toolkits comparison for python
Darren Su
 
PDF
Building at a glance
Gabriel Dogaru
 
ODP
Spring Framework - Study Group
Adiyat Mubarak
 
PDF
Building native mobile Apps with ReactNative
Samuel Barbosa
 
PPTX
Google web toolkit ( Gwt )
Pankaj Bhasker
 
PDF
Selenium camp v1
dimakovalenko
 
PDF
Educ 515 W2 Sp109
lancesfa
 
ODP
Joomla 3 Component programmeren met RAD - Joomladagen 2014
Peter Martin
 
PDF
Firefox os how large open source project works
Fred Lin
 
PDF
Commit on day one thanks to vagrant & puppet!
Jakub Holy
 
PPTX
Entering the chef ecosystem from windows
Matt Wrock
 
PDF
Spring framework 4.0
Diego Pacheco
 
PPTX
Develop faster on Magento 2 using code generation tools
Juan Alonso
 
PDF
Android Made Simple
Gabriel Dogaru
 
PDF
RxNetty
Diego Pacheco
 
PDF
IE9 Pinning workshop slides - MS Webcafe nr by the water
Katrien De Graeve
 
PPTX
Developers meetup sep-2017
Seif Ibrahim
 
JavaScript and Internet Controlled Hardware Prototyping
Jonathan LeBlanc
 
Xdebug for Beginners
Sean Prunka
 
GUI toolkits comparison for python
Darren Su
 
Building at a glance
Gabriel Dogaru
 
Spring Framework - Study Group
Adiyat Mubarak
 
Building native mobile Apps with ReactNative
Samuel Barbosa
 
Google web toolkit ( Gwt )
Pankaj Bhasker
 
Selenium camp v1
dimakovalenko
 
Educ 515 W2 Sp109
lancesfa
 
Joomla 3 Component programmeren met RAD - Joomladagen 2014
Peter Martin
 
Firefox os how large open source project works
Fred Lin
 
Commit on day one thanks to vagrant & puppet!
Jakub Holy
 
Entering the chef ecosystem from windows
Matt Wrock
 
Spring framework 4.0
Diego Pacheco
 
Develop faster on Magento 2 using code generation tools
Juan Alonso
 
Android Made Simple
Gabriel Dogaru
 
RxNetty
Diego Pacheco
 
IE9 Pinning workshop slides - MS Webcafe nr by the water
Katrien De Graeve
 
Developers meetup sep-2017
Seif Ibrahim
 
Ad

Viewers also liked (13)

PPTX
Dependency Injection and Aspect Oriented Programming presentation
Stephen Erdman
 
ODP
The abstract art of software development
Stephen Erdman
 
PDF
SharePoint Commerce Services
Credera
 
PPTX
A Rebelliously Royal Legacy: Chapter 1.1
nox_1
 
PDF
Open Admin - GWT
Credera
 
PPTX
GWT HJUG Presentation
Derrick Bowen
 
PPTX
Google web toolkit web conference presenation
Stephen Erdman
 
PDF
Scala101, first steps with Scala
Giampaolo Trapasso
 
PDF
Microsoft X
Credera
 
PPTX
Rapid Prototyping and Usability Testing - HUXPA
Derrick Bowen
 
PPT
Introduction to Vaadin
Jeroen Benats
 
PPTX
Hands on gwt
Haifa Nasri
 
ODP
Against Morality: A Case for Heresy
Stephen Erdman
 
Dependency Injection and Aspect Oriented Programming presentation
Stephen Erdman
 
The abstract art of software development
Stephen Erdman
 
SharePoint Commerce Services
Credera
 
A Rebelliously Royal Legacy: Chapter 1.1
nox_1
 
Open Admin - GWT
Credera
 
GWT HJUG Presentation
Derrick Bowen
 
Google web toolkit web conference presenation
Stephen Erdman
 
Scala101, first steps with Scala
Giampaolo Trapasso
 
Microsoft X
Credera
 
Rapid Prototyping and Usability Testing - HUXPA
Derrick Bowen
 
Introduction to Vaadin
Jeroen Benats
 
Hands on gwt
Haifa Nasri
 
Against Morality: A Case for Heresy
Stephen Erdman
 
Ad

Similar to First steps with GWT @ Google IO Extended - Pordenone (20)

PPTX
Gwt overview & getting started
Binh Bui
 
PPT
Introduction to Google Web Toolkit
Didier Girard
 
PDF
GWT - Building Rich Internet Applications Using OO Tools
barciszewski
 
PDF
Introduction to Google Web Toolkit - part 1
Muhammad Ghazali
 
PDF
GWT - AppDays - (25 aprile 2014, pordenone)
firenze-gtug
 
PDF
GWT Reloaded
Marcin Szałomski
 
PDF
Gwt kickoff - Alberto Mancini & Francesca Tosi
firenze-gtug
 
PDF
Javascript as a target language - GWT kickoff - part1/2
JooinK
 
PDF
GWT training session 1
SNEHAL MASNE
 
PPT
GWT Training - Session 1/3
Faiz Bashir
 
PDF
Javascript as a target language - GWT KickOff - Part 2/2
JooinK
 
PPT
Google Web Toolkit Introduction - eXo Platform SEA
nerazz08
 
PPT
GWT is Smarter Than You
Robert Cooper
 
PPT
Gwt training presentation
MUFIX Community
 
PPTX
GWT = easy AJAX
Olivier Gérardin
 
PDF
The Java alternative to Javascript
Manuel Carrasco Moñino
 
PDF
GWT- Google Web Toolkit
Momentum Design Lab
 
PDF
Rapid and Reliable Developing with HTML5 & GWT
Manuel Carrasco Moñino
 
PPT
GWT
Lorraine JUG
 
PPT
Gwt Presentation1
rajakumar.tu
 
Gwt overview & getting started
Binh Bui
 
Introduction to Google Web Toolkit
Didier Girard
 
GWT - Building Rich Internet Applications Using OO Tools
barciszewski
 
Introduction to Google Web Toolkit - part 1
Muhammad Ghazali
 
GWT - AppDays - (25 aprile 2014, pordenone)
firenze-gtug
 
GWT Reloaded
Marcin Szałomski
 
Gwt kickoff - Alberto Mancini & Francesca Tosi
firenze-gtug
 
Javascript as a target language - GWT kickoff - part1/2
JooinK
 
GWT training session 1
SNEHAL MASNE
 
GWT Training - Session 1/3
Faiz Bashir
 
Javascript as a target language - GWT KickOff - Part 2/2
JooinK
 
Google Web Toolkit Introduction - eXo Platform SEA
nerazz08
 
GWT is Smarter Than You
Robert Cooper
 
Gwt training presentation
MUFIX Community
 
GWT = easy AJAX
Olivier Gérardin
 
The Java alternative to Javascript
Manuel Carrasco Moñino
 
GWT- Google Web Toolkit
Momentum Design Lab
 
Rapid and Reliable Developing with HTML5 & GWT
Manuel Carrasco Moñino
 
Gwt Presentation1
rajakumar.tu
 

Recently uploaded (20)

PDF
49784907924775488180_LRN2959_Data_Pump_23ai.pdf
Abilash868456
 
PPTX
Can You Build Dashboards Using Open Source Visualization Tool.pptx
Varsha Nayak
 
PDF
lesson-2-rules-of-netiquette.pdf.bshhsjdj
jasmenrojas249
 
PDF
Protecting the Digital World Cyber Securit
dnthakkar16
 
DOCX
Can You Build Dashboards Using Open Source Visualization Tool.docx
Varsha Nayak
 
PPTX
ConcordeApp: Engineering Global Impact & Unlocking Billions in Event ROI with AI
chastechaste14
 
PDF
Immersive experiences: what Pharo users do!
ESUG
 
PDF
Using licensed Data Loss Prevention (DLP) as a strategic proactive data secur...
Q-Advise
 
PPTX
Presentation about variables and constant.pptx
safalsingh810
 
PPTX
classification of computer and basic part of digital computer
ravisinghrajpurohit3
 
PDF
vAdobe Premiere Pro 2025 (v25.2.3.004) Crack Pre-Activated Latest
imang66g
 
PDF
Download iTop VPN Free 6.1.0.5882 Crack Full Activated Pre Latest 2025
imang66g
 
PDF
Applitools Platform Pulse: What's New and What's Coming - July 2025
Applitools
 
PDF
49785682629390197565_LRN3014_Migrating_the_Beast.pdf
Abilash868456
 
PDF
New Download MiniTool Partition Wizard Crack Latest Version 2025
imang66g
 
PPTX
Presentation about Database and Database Administrator
abhishekchauhan86963
 
PDF
WatchTraderHub - Watch Dealer software with inventory management and multi-ch...
WatchDealer Pavel
 
PPTX
Odoo Integration Services by Candidroot Solutions
CandidRoot Solutions Private Limited
 
PPTX
Role Of Python In Programing Language.pptx
jaykoshti048
 
PDF
An Experience-Based Look at AI Lead Generation Pricing, Features & B2B Results
Thomas albart
 
49784907924775488180_LRN2959_Data_Pump_23ai.pdf
Abilash868456
 
Can You Build Dashboards Using Open Source Visualization Tool.pptx
Varsha Nayak
 
lesson-2-rules-of-netiquette.pdf.bshhsjdj
jasmenrojas249
 
Protecting the Digital World Cyber Securit
dnthakkar16
 
Can You Build Dashboards Using Open Source Visualization Tool.docx
Varsha Nayak
 
ConcordeApp: Engineering Global Impact & Unlocking Billions in Event ROI with AI
chastechaste14
 
Immersive experiences: what Pharo users do!
ESUG
 
Using licensed Data Loss Prevention (DLP) as a strategic proactive data secur...
Q-Advise
 
Presentation about variables and constant.pptx
safalsingh810
 
classification of computer and basic part of digital computer
ravisinghrajpurohit3
 
vAdobe Premiere Pro 2025 (v25.2.3.004) Crack Pre-Activated Latest
imang66g
 
Download iTop VPN Free 6.1.0.5882 Crack Full Activated Pre Latest 2025
imang66g
 
Applitools Platform Pulse: What's New and What's Coming - July 2025
Applitools
 
49785682629390197565_LRN3014_Migrating_the_Beast.pdf
Abilash868456
 
New Download MiniTool Partition Wizard Crack Latest Version 2025
imang66g
 
Presentation about Database and Database Administrator
abhishekchauhan86963
 
WatchTraderHub - Watch Dealer software with inventory management and multi-ch...
WatchDealer Pavel
 
Odoo Integration Services by Candidroot Solutions
CandidRoot Solutions Private Limited
 
Role Of Python In Programing Language.pptx
jaykoshti048
 
An Experience-Based Look at AI Lead Generation Pricing, Features & B2B Results
Thomas albart
 

First steps with GWT @ Google IO Extended - Pordenone

  • 1. First steps with GWT Google I/O Extended 2014 - Friuli Venezia Giulia/Veneto
  • 3. GWT (/ˈɡwɪt/) I’m a open source development toolkit for building and optimizing complex browser- based applications.
  • 4. Let me introduce myself My complete name is Google Web Toolkit or 
 GWT Web Toolkit if you like I’m 8 years old.. GWT 1.0 - May 17, 2006 I worked at Google as Java-to-Javascript specialist but have still good relations My home is http://www.gwtproject.org/ I speak Java also Javascript, CSS, HTML In my circle of friends: all browsers and 100K developers
  • 5. Seriously..what can you do with GWT?
  • 10. Angry Birds for Chrome https://www.youtube.com/watch?v=F_sbusEUz5w
  • 11. Quake II GWT Port https://code.google.com/p/quake2-gwt-port/
  • 13. and more! • http://www.devsniper.com/my-selected-gwt- applications/ • http://gwtreferencelist.appspot.com/ • http://www.quora.com/What-web-applications-use- Google-Web-Toolkit-(GWT)
  • 14. Something about GWT from recent reports
  • 15. Java Tools & Technologies Landscape for 2014 http://pages.zeroturnaround.com/Java-Tools-Technologies.html
  • 17. The Future of GWT Report 2013 https://vaadin.com/gwt/report-2013
  • 18. Main GWT components • Java-to-JavaScript Compiler • JRE emulation library • GWT Development Mode • GWT Web UI class library
  • 19. PROs • It uses Java (strong typing) • Learning curve • Libraries • Reuse of server logic • GWT’s built-in protocol to transfer data between the client and the server without any additional knowledge of how the data is packaged and sent (GWT-RPC) • IDE and development tools support: refactor, debug, code navigation, unit test • Handle the browser compatibility and I18N
  • 20. PROs • The GWT compiler optimizes the generated code, removes dead code and even obfuscates the JavaScript • “Easy” to maintain large project • JavaScript in the Java source code using the JavaScript Native Interface (JSNI) • To summarize: highly responsive web applications with heavy lifting on the client-side and reduced chattiness with the server-side • Workoffline, stateless server, high number of users • Open source and developed by a community • Works very well with Google App Engine.
  • 21. CONs • It uses Java -> ceremony code • but GWT 3.0 will use Java 8.0 • It uses Java, something front end developers don’t know • More code to create UI • but you can use UIBinder • Yes, but it’s another abstraction over HTML
  • 22. CONs • Long compilation time • but you can use Dev Mode • but is going deprecated since depends on browsers/is slow • but there’s SuperDev Mode • Too much work even when functionality is simple - include existing JS also • but GWT is typically used on complex applications • Quality and number of widget • but look at GWT Nextgen JsInterop & Web Components Demo: https:// www.youtube.com/watch?v=wFMD1GXR2Tg
  • 23. Frameworks • Errai framework: http://erraiframework.org/ • GWTP: GWT-Platform • SmartGWT (SmartClient) • Sencha GXT (Ext JS look and feel) • Vaadin: GWT used as engine but JSF like approach, only server side logic • Vaadin 7.0 will be a superset of GWT • Useful link: https://vaadin.com/comparison (also with jQuery, RichFaces an more) • GWTMobile • mgwt
  • 24. FAQ • Does GWT use jQuery? How? • No it doesn't. GWT generates Javascript but GWTQuery exists. • Is Gmail built on Google Web Toolkit? • No, it’s a “urban legend”, but Google Sheet is • Is it possible to integrate AngularJS with GWT ? • Yes, take a look at https://github.com/cromwellian/angulargwt • GWT is no more under Google umbrella, is GWT dead? • No, 2.7 & 3.0 will be released soon (and take a look to https://www.youtube.com/watch?v=bj93jlfYi5c for the future of GWT) • Where can I find some examples to try? • http://www.gwtproject.org/examples.html (look at Showcase!) • When is GWT appropriate, when is AngularJS appropriate? • https://groups.google.com/forum/m/#!topic/angular/9P4RD3IbQwk
  • 25. Talk is cheap, show me the code